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
0
Answer:
sorry can't help it.bro
Similar questions
English,
3 months ago
Hindi,
3 months ago
Chemistry,
3 months ago
Computer Science,
8 months ago
Music,
1 year ago