File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 8837


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.


Bats fly at night, 'cause they aren't we. And if we tried, we'd hit a tree -- Ogden Nash (or should've been).
Articles by Winston can be found here
I agree. Here's the link:
subject: Serialization
It's not a secret anymore!