Reg Serialization
1 posts in topic
Flat View  Flat View

Posted By:   vadiivel_s
Posted On:   Tuesday, January 2, 2007 02:49 AM

Hi, I have a problem in Java, if we want store a object in a stream we need to implement Runnable or extend Serializable. if i see the inside methods are nothing, that means the class or interface is Marker class, so the class or interface is empty. kindly advice how its working internally when we implement or extend the class or interface it can store inside the stream?

Re: Reg Serialization

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, January 2, 2007 10:41 PM

Two problems: (1) Runnable has nothing at all to do with serialization. (2) The question otherwise isn't clear... are you asking, since the Serializable interface is a no-method marker interface, how the serialization process even works?
About | Sitemap | Contact