Create your account

Already have an account? Login here

Note: By joining, you will receive periodic emails from Coursetro. You can unsubscribe from these emails.

Create account

65. Enumeration Example

Getting Started with Java

Woah, wait a second..

This is a 100% free course, but we need you to first join or login to watch this video.

Alright, join or login here.

This video shows an example of enumeration in Java. The first part of this video shows how enumerations are better than static constants. The second part of this video shows how to add methods and constructors to enumerations and how to use name(), valueOf() and values() method. Finally we see how to use an enumeration inside a switch statement.

Course Cirriculum