Computer Science, asked by rishisenthivel, 4 months ago

Predict the output of the following if a) num =0 b) num=64 (in java)

switch(num+2)
{
case 1:
System.out.println("Case1:”+num);
break;
case 2:
System.out.println("Case2:”+num);
case 3:
System.out.println("Case3:”+num);
break;
default:
System.out.println("Default:”+num);
}

Answers

Answered by nikithab2611
0

Answer:

pls pls pls pls i will answer pls

Similar questions