Help the world stop coronavirus! Stay home!

Prev Next

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 ';'.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Arrays

Comments & Discussions