A Admin • 802.91K Points Coach Report 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: 2 Filed under category Java Hashtags: Java Enums Share Manage Tags
Discusssion
Login to discuss.