Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

switch case with enim java

switch(object.enum) {
    
  case CONSULTOR:
    tipoConsultor = "CO";
    break;

  case CONSULTOR_EN_LINEA:
    tipoConsultor = "CL";
    break;

  case CONSULTOR_POR_PRODUCTO:
    tipoConsultor = "CP";
    break;

  default:
    break;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #switch #case #enim #java
ADD COMMENT
Topic
Name
6+6 =