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
0
Answer:
Full answer in explanation.
Explanation:
i) OBJECTS
ii) ENCAPSULATION
Answered by
0
Answer:
search in google and get more about it
Similar questions