title: Java enum best practice
body: <p>This might seem like a trivial question, but I'm a bit muddled in my thinking regarding enums..</p>
  
  <p>So I have a class - let's say its called DVDPlayer - and I want to have an enum that represents whether it's ON, OFF, or STANDBY. </p>
  
  <p>So I can put the enum in the class - it doesn't make sense outside of the class. My question is this - should the enum be public, so that other classes can query values, or should I make it private, and then have "isOn", "isOFf" and "isStandby" methods? </p>
  
  <p>The latter sounds a bit daft, but I'm unsure as to whether it's a good idea to have the enum as public as well. </p>