Because they are constants, the name of an enum type's field are in uppercase letters.
We define an enum type by using the enum keyword.
We should use enum types any time we need to represent a fixed set of constants when we know all possible values at compile time.
Create our "Enum" type
Create our class where look for elements using the enum type
Identify the elements on page






No hay comentarios:
Publicar un comentario