Computer Science, asked by sumitaghosh383, 6 days ago

1. switch (opn) { case 'a':System.out.println("JAVA"); break; case 'b':System.out.println("Object Oriented"); case 'c':System.out.println("Platform Independent"); break; default: System.out.println("Wrong Input"); } When opn= 'b' and opn='d'
It's output

Answers

Answered by mahi78972
0

Answer:

When opn value is 'b' then the output will be

Object Oriented

Platform Independent

When the opn value is 'd' then the output will be Wrong Input

Similar questions