File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes serialVersionUID Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "serialVersionUID" Watch "serialVersionUID" New topic


priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Hi All

What does this code does. i have seen many program using this same SerialVersionUID .I mean i am not actually getting to which object it will provide SerialVersioUID?

Thanks in advance
Carles Gasques
Ranch Hand

Joined: Apr 19, 2013
Posts: 199

It helps to check object version when deserialize 2 java objects that have the same canonical name.

Best regards,
priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Thanks carle
Jeff Verdegan

Joined: Jan 03, 2004
Posts: 6109

priyanaka jaiswal, in the future, please SearchFirst(⇐click). For example: java what is serialversionuid
I agree. Here's the link:
subject: serialVersionUID