Prev Next

Java / Enum

What are the implicit methods in Java Enum?

The values and the valueOf method are implicitly added by the compiler. Find the exact method signature below.

public static E[] values();
public static E valueOf(String name);

More Related questions...

Show more question and Answers...


Comments & Discussions