Descriptive Question

Quiz Guidelines

 

QID: 
40
Question: 

Find output or error: 

class OOP2 {

int x(double d) {

System.out.println("one");

return 0;

}

String x(double d) {

System.out.println("two");

return null;

}

double x(double d) {

System.out.println("three");

return 0.0;

}

public static void main(String[] args) {

new OOP2().x(4.0)

}

} 

 

Q&A Set: 

Search the Web

Custom Search

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