*
The moose likes Beginning Java and the fly likes Serialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Serialization

abhinas raj
Ranch Hand

Joined: Jun 02, 2012
Posts: 47
does Deserialization depeneds on .class file or not or it only depends on serialversionUID ?, please explain
abhinas raj
Ranch Hand

Joined: Jun 02, 2012
Posts: 47
i changed the class name (keeping variable name's same), and serialversionUID same as privious, when i deserialized the objects, i got the desired result, i mean practically it was working. so if class name is different then also object is serialized (by keeping the serialversionUID same as previous), then how can we say that deserialization depends on .class file also.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7892
    
  21

Abhinas,

Please don't open new topics simply to restate the same question. Your other topic was doing just fine; I suggest you reopen it.

Also: please ShowSomeEffort (←click). Manish told you exactly where to look, and I suggest you do so.

If you really feel your 2nd post is worth repeating, I suggest you add it to your original thread, because I'm locking this one.

Winston

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
 
GeeCON Prague 2014
 
subject: Serialization