File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 12761
    
    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)


<b>Sandeep</b> <br /> <br /><b>Sun Certified Programmer for Java 2 Platform</b><br /> <br /><b>Oracle Certified Solution Developer - JDeveloper</b><br /><b>-- Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java </b><br /><b>-- Object-Oriented Analysis and Design with UML</b><br /> <br /><b>Oracle Certified Enterprise Developer - Oracle Internet Platform</b><br /><b>-- Enterprise Connectivity with J2EE </b><br /><b>-- Enterprise Development on the Oracle Internet Platform </b>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serializable
 
Similar Threads
Session Variables lost!
serializable
Resultset
what kind of object can be bound to JNDI?
About Handle & Remote Object Reference