jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Re: Serializable Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Re: Serializable Class" Watch "Re: Serializable Class" New topic

Re: Serializable Class

Joe Cheung
Ranch Hand

Joined: Oct 18, 2002
Posts: 104
Dear all,
What is the use of Serializable? Under what situation does a class need to extend Serializable?

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
The manual, or manuals, that David refers to might include the Object Serialization secion of Sun's Java Tutorial, and the documentation for the interface Serializable.
From these, you might notice that objects are sometimes serialized in order to save them (or their state) to a file, or to transmit them from one JVM to another (perhaps over the internet).
[ May 09, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link: http://aspose.com/file-tools
subject: Re: Serializable Class
jQuery in Action, 3rd edition