Skip survey header

Oracle Practice Quiz: Oracle Certified Associate (OCA) Java Programmer Quiz 1

Oracle Practice Quiz: Oracle Certified Associate (OCA) Java Programmer Quiz 1 (15 Questions)

1. Given the following:



What is the result?
2. Given the following:



What is the result?
3. Given the following:

A and E are classes
B and D are interfaces
C is an abstract class

Which statements are true? (Choose three)
4. Given the following:

A and E are classes
B and D are interfaces

Which statements are true? (Choose two)
5. Given the following:



What is the result?

NOTE: The keyword "instanceof" is use to check whether an object is of a particular type.
6. Given the following:



What is the result?
7. Given the following:



What is the output?
8. Which of the following are legal identifiers? (Choose three)
9. Given the following:



What is the result?
10. Given the following:



What is the result?
11. Given the following:



What is the result?
12. Given the following:



What is the result?
13. Given the following:



What is the result?
14. Given the following:



What is the result?
15. Given the following:



What is the result?