D Dhruva Jagannath • 660 Points Invincible Report Q. What happens when you try to subclass an enum? (A) It compiles but fails at runtime (B) It compiles and runs (C) Compile-time error (D) It throws an exception Correct Answer - Option(C) Views: 5 Filed under category Java Hashtags: Java Enums Share Manage Tags
Discusssion
Login to discuss.