1Z0-811 • Practice Test 34
Free 1Z0-811 practice test — 15 questions with explanations. Set 34. No signup required.
Refer to the exhibit. What is the output?
public class Test {
public void print(int i) { System.out.println("int"); }
public void print(double d) { System.out.println("double"); }
public static void main(String[] args) {
Test t = new Test();
t.print(10);
}
}