Monday, 26 September 2016

Java Tutorial : Java IO (Java Serializable Interface)


Click here to watch in Youtube :
https://www.youtube.com/watch?v=N44f0ePhMbo&list=UUhwKlOVR041tngjerWxVccw

Click the below Image to Enlarge
Java Tutorial : Java IO (Java Serializable Interface) 
Employee.java
import java.io.Serializable;

public class Employee implements Serializable
{
    private static final long serialVersionUID = 3558283530338723147L;
    private int id;
    private String name;

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

}
Refer: 
https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html
Click the below link to download the code:
https://sites.google.com/site/ramj2eev1/home/javabasics/JavaIODemo_Serializable_App.zip?attredirects=0&d=1

Github Link:
https://github.com/ramram43210/Java/tree/master/BasicJava/JavaIODemo_Serializable_App/JavaIODemo

Bitbucket Link:
https://bitbucket.org/ramram43210/java/src/77a722c38e027b0dc283350527400c69b6e8d643/BasicJava/JavaIODemo_Serializable_App/JavaIODemo/?at=master

See also:
  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Kids Tutorial
  • No comments:

    Post a Comment