View Single Post
  #2 (permalink)  
Old 12-11-2007, 06:22 PM
wsaryada wsaryada is offline
Senior Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 102
wsaryada is on a distinguished road
This is called as a marker interface, which is use to mark a class for serialization purposes. By implementing this interface Java know that this class can be serialized.

Yes, you don't need to implement a method when create a class a serializable because the interface itself doesn't define any method. But there are some rules for creating a good serializable class, you can read it here: Implementing Serializable.
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote