Java Tutorial 7: Working with constants, also known as enumerations (enum)

Publicado el: 26 enero 2023
en el canal de: Dr. Todd Wolfe Technology Training and Tutorials
251
5

In this tutorial, Dr. Todd Wolfe demonstrates how to handle constants in a Java program. This tutorial shows how to establish a variable to hold constants in an enumeration (enum) and work with them. At the end of this tutorial, you will know how to :

1) Create an enumeration to store constants
2) Set a variable equal to one of the values
3) Loop through the values in the enumeration
4) Check the position (Ordinal) of the variable
5) Compare two variables locations in an enumeration


En esta página del sitio puede ver el video en línea Java Tutorial 7: Working with constants, also known as enumerations (enum) de Duración hora minuto segunda en buena calidad , que subió el usuario Dr. Todd Wolfe Technology Training and Tutorials 26 enero 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 251 veces y le gustó 5 a los espectadores. Disfruta viendo!