Descriptive Question

Quiz Guidelines

 

QID: 
38
Validated against: 
java8
Question: 

Find output or error: 

class OOP1 {

void x (int i) {

System.out.println("one");

}

void x (String s) {

System.out.println("two");

}

void x (double d) {

System.out.println("three");

}

public static void main(String[] args) {

new OOP1().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!!!