This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic


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

Joined: Mar 17, 2011
Posts: 8661


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.


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
I agree. Here's the link:
subject: Serialization
It's not a secret anymore!