Computer Science, asked by krishnachoudhary0123, 8 months ago

Give the out put of the following statements: [2]

switch(intop)

{ case1: System.out.print(“Hello,I am givi\nng my Computer Exam”);

System.out.println(“\”Computer Programming is Fun\””);

break;

case2: System.out.print(“I am learningJava Programming Language”);

System.out.println(“Java is an OOP Language”);

default: System.out.println(“Sorry Invalid option”);

}

If op=1, op=2and op=0.​

Answers

Answered by kivi29
0

Answer:

sorry can't help it.bro

Similar questions