← Quiz: Java Enums: all 10 questions
Quiz: Java Enums · Question 7 of 10
Can an enum extend another class?
Can an enum extend another class?
- A.Yes, any class
- B.Only abstract classes
- C.No — it already extends java.lang.Enum, but it can implement interfaces
- D.Only another enum
Answer & explanation
Correct answer: No — it already extends java.lang.Enum, but it can implement interfaces
Java has single inheritance, and every enum implicitly extends Enum.
Can you get the rest right without peeking?
Take the timed Quiz: Java Enums quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →