

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following code. int x, y; x=15; y=20; if (x>15) if(y>15) { System.out.println(“y is “+y); } else System.out.println(“x is “+x); |
A. | Error |
B. | y is 20 |
C. | x is 15 |
D. | No output |
Answer» D. No output | |