Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hi this is vinay i have small doubt

 
kumarbobby
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i have one simple doubt that is why serializable interface is a marker interface any way this is a simple doubt but i am quite confusing with this
plz any one can give me the answer for this
 
Prasanna Ram Rambhatla
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Plz go to http://www.devx.com/tips/Tip/5266

Regards,
Pras
 
Pratibha Malhotra
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi kumarbobby,

Have a look at Serializable Interface in Java API. You will see that this interface doesn't contains any method or attribute.

This interface is used as a flag to tell jdk to implement Serializability.Classes that do not implement this interface will not have any of their state serialized or deserialized

Hope this will help...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic