• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serialization and Static  RSS feed

 
francis varkey
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Respected Sirs,
Is any problem to serialize a class that contains static variables ?

Regards Francis;
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The static variables are not serialized, but the non-static (and non-transient) fields are serialized with out any problem.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!