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