Notice how the Java enum in the example above has a constructor which takes an int . The enum constructor sets the int field.
確定! 回上一頁