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.
Nesta página do site você pode assistir ao vídeo on-line Java Tutorial # 26 | Enumerations in Java | Enums in Java | Java Beginners Tutorials by Java9s duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário java9s 05 Junho 2013, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 39,530 vezes e gostou 208 espectadores. Boa visualização!