• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serialization  RSS feed

 
Rashmi Dupati
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I have some doubt in serialization :

1.What is the purpose of serialization ?
2.why static variables are not seriazed?

Thanks & Regards
Rashmi
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rashmi Dupati:

1.What is the purpose of serialization ?


To preserve an object's state

Originally posted by Rashmi Dupati:

2.why static variables are not seriazed?


Because static variables are declared and initialized as part of the class, not the instance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!