A. –2 B. NaN C. Infinity D. Compilation fails. E. An exception is thrown at runtime.
A. java.util.Map B. java.util.List C. java.util.Hashable D. java.util.Collection
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.