• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serialization of static variables

 
geet kaur
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are static variables serializable??I have gone through a lot of links but could npt come to a conclusion
 
Shanky Sohar
Ranch Hand
Posts: 1051
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no...they are not
 
Tommy Delson
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
geet kaur wrote:Are static variables serializable??I have gone through a lot of links but could npt come to a conclusion


As Bert stated: No Serialization on actual exam, but it's good to understand and learn about it.

Try to SEARCH the forum about "Serialization" for similar topic before jump to question.

Check out my responses on this link for more details:


http://www.coderanch.com/t/539469/java-programmer-SCJP/certification/Serialization
 
Arjun Srivastava
Ranch Hand
Posts: 432
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tommy Delson wrote:As Bert stated: No Serialization on actual exam, but it's good to understand and learn about it.
Try to SEARCH the forum about "Serialization" for similar topic before jump to question.
Check out my responses on this link for more details:
http://www.coderanch.com/t/539469/java-programmer-SCJP/certification/Serialization

Yup true.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!