Skip to content

JAVADAW24/U1-tipo-ENUMerado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

U1-tipo-ENUMerado

tipo de datos enum, para selector

     public class TipoENUM {
         public static void main(String[] args) {
            enum Clase { ALFA, BRAVO!, CHARLIE }; 
            Clase valor; 
            valor= Clase.BRAVO!; 
            System.out.println("el valor es:  "+valor);
         }
     }

alt text

Releases

No releases published

Packages

No packages published

Languages