Computer Science, asked by mmrm36670, 5 months ago

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 sameer7815
5

Answer:

output:

Lap Top

hope it helps

please mark as brainliest

Similar questions