Computer Science, asked by shivanimahawarp83wef, 5 months ago

Q15. What is the output of the following code? If ch is i) 'X' ii) a'
switch(ch)
{
case 'a': break;
case X: System.out.println("OBJECTS");
case 'y': System.out.println("CLASSES");
}
System.out.println("ENCAPSULATION");​

Answers

Answered by jatinshishodia123
0

Answer:

Full answer in explanation.

Explanation:

i) OBJECTS

ii) ENCAPSULATION

Answered by malaykumardutta72
0

Answer:

search in google and get more about it

Similar questions