Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What are factors that causes serialVersionUID changed ....

 
Maneessh saxena
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi great Ranchers,

I wanna know that what are the factors that causes serialVersionUID of a class changed. I am really confused about this.

Thanks & Regards
 
Joe Ess
Bartender
Posts: 9312
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are no "factors". The serialVersionUID identifies a particular version of a class. Change the class definition and the serialVersionUID changes.
Ensure Proper Version Control For Serialized Objects
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic