Help the world stop coronavirus! Stay home!

Prev Next

Java / Enum

Can an Enum extend a class in Java?

No, Enum can not extend class in Java.

By default, Enum extends abstract base class java.lang.Enum so it cannot extend another class as Java does not support multiple inheritance for classes.

❤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