Enums in Java help to define constants which are more powerful than we do with Interfaces. The main objective of Enums is to ensure the type safety when using the Constants in Java programs. In this Video tutorial i have explained how enums work and how objects can be created. I have also explained about some the important methods of enum like values() valueOf(String), Ordinal(), name() etc. All the object produced by enum are singleton. And enum provided a great flexibility to add more values to constant and define methods like a normal class.
On this page of the site you can watch the video online Java Tutorial # 26 | Enumerations in Java | Enums in Java | Java Beginners Tutorials by Java9s with a duration of hours minute second in good quality, which was uploaded by the user java9s 05 June 2013, share the link with friends and acquaintances, this video has already been watched 39,530 times on youtube and it was liked by 208 viewers. Enjoy your viewing!