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
Register / Login
JavaRanch » Java Forums » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Serializable" Watch "Serializable" New topic
Author

Serializable

Janet Yap
Greenhorn

Joined: Mar 13, 2004
Posts: 24
Can anybody tell me that all build-in classes in java (i.e String, Boolean, etc..) are all public and serializable ???.

Thanx
sp
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5781
sp,
Any class that implements the interface java.ioSerializable is a serializable. The easiest( and correct ) way to find out if any class is serializable is to refer to the class declaration in Java API documentation. It is free, it is useful and you should have it always accessible.
Good luck,
Ajith


Open Group Certified Master IT Architect.
Sun Certified Architect(SCEA).
 
 
subject: Serializable
 
Threads others viewed
Serialization via Inheritance
Session Variables lost!
will subclass gets serialized?
Serializable interface.
Dan's new Collections Questions
developer file tools