Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Instance variables in enums  RSS feed

 
Juan Tamayo
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I had a (for now) useless question. What happens with the instance variables of an enum when an object referring to that enum is serialized?

Thanks
 
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!