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 OBJECT SERIALIZATION Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "OBJECT SERIALIZATION" Watch "OBJECT SERIALIZATION" New topic
Author

OBJECT SERIALIZATION

Amit Pasricha
Greenhorn

Joined: Oct 07, 2000
Posts: 14
PLEASE CAN ANY ONE HELP ME IN UNDERSTANDING THE SERIALIZATION FANDA FOR EXAM.
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 2547
For the exam, all you need to know is:
1. You can read/write any Object to a file using ObjectInputStream/ObjectOutputStream. (Refer API)
2. To do so, however, the class of that object should implement an interface 'Serializable'.
3. This is a 'tag' interface and does not have any methods. (Ie. the class implementing this interface does not have to implement any method)
HTH,
Paul.

------------------
Get Certified, Guaranteed!
(Now Revised for the new Pattern)
www.enthuware.com/jqplus


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
 
IntelliJ Java IDE
 
subject: OBJECT SERIALIZATION
 
Threads others viewed
I/O
writing hashtable to a file
Object serialization
Encryption.... need help!!! :(
deserialization constructor execution doubt.
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com