Course contentsShow
Java
Lesson 609 of 2,87014. EnumerationsPro lesson

name() vs toString(): When to Override toString()

Compare name() and toString() methods and learn best practices for custom enum string representations.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.