aspose file tools*
The moose likes Java in General and the fly likes Need clarification on serialVersionUID variable in java class. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need clarification on serialVersionUID variable in java class." Watch "Need clarification on serialVersionUID variable in java class." New topic
Author

Need clarification on serialVersionUID variable in java class.

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163
Hi,

Have seen the following member in most of the Serializable classes.

private static final long serialVersionUID = 4374092139857L;

What is the use of this member in the serialization process?
What is the advantage of having this member?
Avishkar Nikale
Ranch Hand

Joined: Aug 06, 2010
Posts: 173
This post might help.
http://www.coderanch.com/t/489777/java/java/Java-class-consisting-serialVersionUID

Regards,
Avishkar Nikale
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19755
    
  20

Please SearchFirst, especially in our I/O forum. This question has already been asked many times.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

Or you can find this part of Spec that explain this.


http://muhammadkhojaye.blogspot.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need clarification on serialVersionUID variable in java class.