

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the program? public class Test { public static void main (String args[]) { String str = NULL; System.out.println(str); } } |
A. | NULL |
B. | Compile Error |
C. | Code runs but no output |
D. | Runtime Exception |
Answer» C. Code runs but no output | |