Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hi this is vinay i have small doubt  RSS feed

 
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...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!