A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Serialization -- reference variables
whats the difference between Objects and reference variables?
What is thread-local variable
No. of Objects & Reference Variables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014