An enum constant can have a body with an abstract method override. What must the enum declaration itself contain for this to compile?
-
A
The abstract method must be declared abstract in the enum body
-
B
The enum must implement an interface
-
C
The enum must extend an abstract class
-
D
Abstract methods are not allowed in enums at all