MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? public class Switch2 { final static short x = 2; public static int y = 0; public static void main(String [] args) { for (int z=0; z < 3> |
| A. | 0 1 2 |
| B. | 0 1 2 1 2 2 |
| C. | 2 1 0 1 0 0 |
| D. | 2 1 2 0 1 2 |
| Answer» E. | |