D Dhruva Jagannath • 660 Points Invincible Report Q. What will happen if you use `switch-case` with an enum and forget one constant? (A) Compile-time error (B) Runtime exception (C) Nothing, it will skip unmatched cases (D) The switch will repeat the last matched case Correct Answer - Option(C) Views: 4 Filed under category Java Hashtags: Java Enums Share Manage Tags
Discusssion
Login to discuss.