8. Give the output of the following code fragment:
when (1) opn = 'b' (ii) opn = 'x' (i) opn = 'a'
switch (opn)
case 'a':
System.out.println("Platform Independent");
break;
case 'b':
System.out.println("Object Oriented");
case 'c':
System.out.println("Robust and Secure");
break;
default:
System.out.println("Wrong Input");
Answers
Answered by
20
Answer:
(1) Object Oriented
(2) Wrong Input
(3) Platform Independent
Hope it helps..
Pls mark as a brainlist...
Answered by
2
Answer:
a) object oriented
b) wrong input
c) platform independent
Similar questions