This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Using the compiler-generated values() method to loop through all enum constants in declaration order.
You've completed the free preview. Subscribe to unlock every lesson in every course.