Enum: valueOf, ordinal and compareTo methods

This lecture is a part of my video course Core Java Development Course For Beginners. In this lecture you will learn: Working of static valueOf(String) method. How to check the details of values() and valueOf(String) methods using Javadoc? How Enum constants are declared internally? What is ordinal value? Three ways to check for the equality of Enum constants. Working of instance methods: ordinal() and compareTo(). Watch this video in HD for better experience.