The keyword enum is used to define an enumeration. An enum can contain constants, methods, etc. Heres the basic syntax for creating an enum: java public ...
確定! 回上一頁