Java / Enum
Can we create an enum without constants?
Yes. we can create. However when the enum body has other members such as method, constructor then the first line must have a semicolon ';'.
More Related questions...
Yes. we can create. However when the enum body has other members such as method, constructor then the first line must have a semicolon ';'.
More Related questions...