Enums: Constructors, instance variables and methods

This lecture is a part of my video course Core Java Development Course For Beginners. In this lecture you will learn: Why variables, constructors and methods are needed in the Enum code? How to define variables, constructors and methods in the Enum code? Code to invoke the parameterized constructor of an Enum. When does java runtime invoke the constructor of an Enum? How to invoke methods defined in an Enum? Static values() method of Enums. Benefits of enums over static final variables. Watch this video in HD for better experience.