Hi, I think an object is serializable when it explicitly implement Serializable interface. Are there any objects that are by default serializable.I mean implicitly implimenting Serializable interface? - Thanks
Object streams implement Serializable interface. There are a lot of other classes which implement sub-interfaces of serializable. Java API documentation is the best place to find what you are looking for. Ajith
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Joined: Aug 03, 2000
Thanks Ajith, I found that Vector,String,Exception,all Wrapper classes,GridBagConstraint classes are serializable. But are they serializable without explicitly implementing the Serializable interface?? - Thanks
Joined: Mar 17, 2000
Nope. They must implement the Serializable interface in order to become serializable. Ajith