• Post Reply Bookmark Topic Watch Topic
  • New Topic

How serialversionId works in Serialization?  RSS feed

 
Nagaraj Shivaklara
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can you please explain me what is the role of serialversionID in Serialization and how java will store the ID after serialized the object?
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please SearchFirst. There's plenty of information readily accessible if you take a little time to find it. After you've read up on it, if you still have more specific questions, post again.
 
Roberto Perillo
Bartender
Posts: 2273
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good call, Jeff. But let's ease Nagaraj's life, pointing him to the JavaDoc of the Serializable class. I think he'll be able to find his answer there.
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roberto Perillo wrote:Good call, Jeff. But let's ease Nagaraj's life, pointing him to the JavaDoc of the Serializable class. I think he'll be able to find his answer there.


Of course. Should have thought of that myself.
 
Roberto Perillo
Bartender
Posts: 2273
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Come on! I know you're a smart guy. No worries
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!