Oracle
1Z0-819 · Question #167
1Z0-819 Question #167: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-819 to reveal the answer and full explanation for question #167. The question stem and answer options stay visible for context.
Question
public class Tester {
private int x;
private int y;
public static void main(String[] args) {
Tester t1 = new Tester();
t1.x = 2;
t1.y = 3;
Tester t2 = new Tester();
t2.x = 4;
t2.y = 7;
System.out.println(t1.x + "" + t1.y);
System.out.println(t2.x + "" + t2.y);
}
}
What is the result?
Options
- A2.34.5
- B2.34.7
- C23.47
- D24.3.5
Unlock 1Z0-819 to see the answer
You've previewed enough free 1Z0-819 questions. Unlock 1Z0-819 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.