Back to Browse

Java Tutorial # 26 | Enumerations in Java | Enums in Java | Java Beginners Tutorials by Java9s

39.8K views
Jun 5, 2013
27:28

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.

Download

1 formats

Video Formats

360pmp430.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Java Tutorial # 26 | Enumerations in Java | Enums in Java | Java Beginners Tutorials by Java9s | NatokHD