Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

Serialization

 
abhinas raj
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Report post to moderator
does Deserialization depeneds on .class file or not or it only depends on serialversionUID ?, please explain
 
abhinas raj
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 10417
63
Eclipse IDE Hibernate Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
    Bookmark Topic Watch Topic
  • New Topic