Oracle Java SE 7 Programmer II - 1Z1-804 Exam Practice Test
Given:
StringBuffer b = new StringBuffer("3"); System.out.print(5+4+b+2+1);
What is the result?
StringBuffer b = new StringBuffer("3"); System.out.print(5+4+b+2+1);
What is the result?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Given:

What is the result?

What is the result?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Given two classes in separate files: Which two import statements can make the a.b.parent class compliable?


Correct Answer: D,E
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Given:

Which statement is true?

Which statement is true?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
Which two are true about Singletons?
Correct Answer: A,D
Given: What is the result?


Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).