Enums that implement interfaces
In one line: An enum can implement an interface once for all constants or separately in each constant's body, and constants then work as that type.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.