Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Instance variables in enums

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic