Descriptive Question

Quiz Guidelines

 

QID: 
41
Question: 

Find output or error:

public class NullCheck {

public void myMethod(String str) {

System.out.println("String");

}

public void myMethod(Double d) {

System.out.println("Double");

}

public static void main(String[] args) {

NullCheck nc = new NullCheck();

nc.myMethod(null);

}

}

 

Q&A Set: 

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!