This week's giveaway is in the
We're giving away four copies of
video training course and have Ken Kousen on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Serialization -- reference variables
Joined: Jul 14, 2008
Jan 09, 2010 03:13:58
hi all ,
When a object is serialized the refernce variables which refer the object will serialize or not ?
Joined: May 14, 2007
Jan 09, 2010 07:17:26
All non-transient non-static field will be serialized, both primitive type and reference type.
If non-transient non-static reference type field is referring non-serializable object, exception occurs.
I agree. Here's the link:
subject: Serialization -- reference variables
No. of Objects & Reference Variables
What is thread-local variable
whats the difference between Objects and reference variables?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015