{{theTime}}

Search This Blog

Total Pageviews

What is the output of the following code in Java?

System.
out.println((String)null) ;
 
Answers:
a) NullPointerException
b) null
c) RuntimeException
d) NULL

No comments:

java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport

SpringBoot Error: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.j...