• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serializable interface  RSS feed

 
Bravee Rider
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
plzzzzzzzzzz explane the functionality and utility of serializable
interface
...........
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To make it simple, any class you write which you want to serialize (write it to a file, send it over network etc) must implement the Serializable interface. thats the rule.
any class that doesnt implement it, wont be written to a file/passed over a network correctly as a whole.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!