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

Publié le: 05 juin 2013
sur la chaîne: java9s
39,530
208

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.


Sur cette page du site, vous pouvez voir la vidéo en ligne Java Tutorial # 26 | Enumerations in Java | Enums in Java | Java Beginners Tutorials by Java9s durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur java9s 05 juin 2013, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 39,530 fois et il a aimé 208 téléspectateurs. Bon visionnage!