public class Test { public static void main(String[] args) { String str = NULL; System.out.println(str); } } What is the result?()
- A NULL
- B Compilation fails.
- C The code runs with no output.
- D An exception is thrown at runtime.
public class Test { public static void main(String[] args) { String str = NULL; System.out.println(str); } } What is the result?()
NULL should be "null".