Oracle
1Z0-804 · Question #23
1Z0-804 Question #23: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-804 to reveal the answer and full explanation for question #23. The question stem and answer options stay visible for context.
Question
Given: What two changes should you make to apply the DAO pattern to this class?
Exhibit
Options
- AMake the Customer class abstract.
- BMake the customer class an interface.
- CMove the add, delete, find, and update methods into their own implementation class.
- DCreate an interface that defines the signatures of the add, delete, find, and update methods.
- EMake the add, delete, and find, and update methods private for encapsulation.
- FMake the getName and getID methods private for encapsulation.
Unlock 1Z0-804 to see the answer
You've previewed enough free 1Z0-804 questions. Unlock 1Z0-804 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.
