wood burning stoves 2.0
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Serializable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Serializable" Watch "Serializable" New topic


Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
There are some classes that implements Serializable. What useful have the interface Serializable?
Thank you in advance.
Marcus Green
arch rival

Joined: Sep 14, 1999
Posts: 2813
Serializable is not covered in the Programmer exam

SCWCD: Online Course, 50,000+ words and 200+ questions
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
The interface Serializable indicates that you can write an object out to a file or byte stream. Java uses this to move objects around between systems, store objects in files and retrieve them later, etc. Take a look at the java.io package - classes like ObjectInputStream and ObjectOutputStream. Pretty cool technology.
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
java.io.Serializable is a tag interface which suggests that the state of the object is saved.You use it in distributed computing like RMI, when you have to send information across machines.
Hope this helps,
SCJP2, OCSD(Oracle JDeveloper), OCED(Oracle Internet Platform)
I agree. Here's the link: http://aspose.com/file-tools
subject: Serializable
It's not a secret anymore!