Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Oracle Java SE 7 Programmer II (1Z0-804) Free Practice Test

Question 1
Given:

Which two statements concerning the OO concepts "IS-A" and "HAS-A" are true?

Correct Answer: E,F
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
Given this error message when running your application:
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name MessageBundle, locale
And given that the MessageBundle.properties file has been created, exists on your disk, and is properly formatted.
What is the cause of the error message?

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 3
Given the code fragment:

Assume that the SQL query matches one record. What is the result of compiling and executing this code?

Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
ITEM Table
*ID, INTEGER: PK
*DESCRIP, VARCHAR(100)
*PRICE, REAL
*QUALITY, INTEGER
And given the code fragment (assuming that the SQL query is valid):

What is the result of compiling and executing this code?

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
Given the integer implements comparable: What is the result?

Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
Which is a key aspect of composition?

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

What is the result?

Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 8
Given:

What is the result?

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