A Admin • 831K Points Coach Q. What will happen if you try to instantiate an enum using `new` keyword? (A) It creates a new enum instance (B) It results in a compile-time error (C) It throws a runtime exception (D) It works only inside the enum class Correct Answer - Option(B) Views: 14 Filed under category Java Hashtags: Java Enums Share Manage Tags
Discusssion
Login to discuss.