aspose file tools*
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
Author

Serializable

Anonymous
Ranch Hand

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

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


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
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.
Bill
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Hi,
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,
Sandeep
SCJP2, OCSD(Oracle JDeveloper), OCED(Oracle Internet Platform)
 
Consider Paul's rocket mass heater.
 
subject: Serializable