File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Need clarification on serialVersionUID variable in java class.
Joined: Oct 11, 2005
Sep 04, 2010 09:12:50
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?
Joined: Aug 06, 2010
Sep 04, 2010 09:16:26
This post might help.
Joined: Oct 27, 2005
Sep 05, 2010 07:15:30
, especially in our I/O forum. This question has already been asked many times.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Joined: Apr 12, 2009
Sep 05, 2010 08:06:37
Or you can find this part of
that explain this.
I agree. Here's the link:
subject: Need clarification on serialVersionUID variable in java class.
extending class with serialVersionUID
Using serialVersionUID ...
When to use serialVersionUID
Regarding Stream Versioning
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015