This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes static and serialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "static and serialization" Watch "static and serialization" New topic

static and serialization

Maja Grabovac

Joined: Feb 27, 2001
Posts: 16
Can class static variable be serialized?
Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
No static variables do not get serialized , they belong to a class not to an object.

Val SCJP <BR>going for SCJD
Maja Grabovac

Joined: Feb 27, 2001
Posts: 16
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: static and serialization
It's not a secret anymore!