Computer Science, asked by singhrakhishivu, 3 months ago

Predict the output:

charc=‘a’

switch(c)

{

case‘a’:System.out.print(“1”);

case‘b’:System.out.print(“2”);

case‘c’:System.out.print(“3”);

}

System.out.println(“done”);

Please help me to do this it is very urgent​

Answers

Answered by bhattkashish1234
0

Answer:

output:

1 2 3 done

hope it helps

Similar questions