To get the array of enum constants of some Enum type TestEnum, we have two options - TestEnum.values() or TestEnum.clas
enum
Enum
TestEnum
TestEnum.values()
TestEnum.clas