What type of method is `values()` in an enum?
Correct answer
Static method added by compiler
Explanation
`values()` is a static method automatically added by the compiler.
Update: Dhruva Jagannath added a tag on this question
Topics
By Dhruva Jagannath · · 33 views