MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? public class Test { private static int[] x; public static void main(String[] args) { System.out.println(x[0]); } } |
| A. | 0  |
| B. | null |
| C. | Compile Error |
| D. | NullPointerException at runtime |
| Answer» E. | |