Write the output for the following:
int x = 2;
switch(x)
{
case 1: System.out.println(“Desk Top”);
case 2: System.out.println(“Lap Top”);
case 3: System.out.println(“Better than Desk Top”);
Answers
Answered by
5
Answer:
output:
Lap Top
hope it helps
please mark as brainliest
Similar questions