Predict the output –
class Test{
public static void main(){
String s1=“40”;
String s2=“9”;
int a= Integer.parseInt(s1);
int b= Integer.parseInt(s2);
switch(a>b){
case true : System.out.println(“a is greater than b”);
case false : System.out.println(“b is greater than a”); break;
}// eof switch
}//eof main
}//eof class
Answers
Answered by
0
Hzdotfoydiydiydiysutsututdjditditditdiydiydi diwas doyroudiydiydiydiyditstiditstisitdkydjtditdifodoydiydkgditsitsoydiydiydyovjidxudutsutditdtiditditdyisyiddododdo
Similar questions