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) |
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
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:
No comments:
Post a Comment