I am trying to use the java Switch Case statement like this.
String Status;
switch (Status){
case "A":
break;
case "B":
break;
case "C":
}
but it does not take a String type in the case construct. java complains that it requires an int...
is there a workaround?
String Status;
switch (Status){
case "A":
break;
case "B":
break;
case "C":
}
but it does not take a String type in the case construct. java complains that it requires an int...
is there a workaround?