
What is Java Serializable?

Java Serializable is an interface which has no methods. This Interface is also called marker interface. The class makes their object state serialize by implementing this interface.
for Example-
public class UserBean implements Serializable{
private String name; public void setName(String name){ this.name=name; }
public String getName(){
rturn this.name;
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.