aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Similar Threads
scjp - Threads
object byte array to object instance
About serialVersionUID
Parsing out names from String
WA #1.....word association