Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Serializable interface

 
jaya sudha
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is a Serializable interface..As it is a null interface what is the need of that interface.....
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a so called Marker Interface. It is just an information that the class implementing this interface can be serialized. Nothing else.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic