nerdexam
Oracle

1Z0-805 · Question #61

Given: What two changes should you make to apply the DAO pattern to this class?

Sign in or unlock 1Z0-805 to reveal the answer and full explanation for question #61. The question stem and answer options stay visible for context.

Advanced Class Design

Question

Given:

What two changes should you make to apply the DAO pattern to this class?

Exhibits

1Z0-805 question #61 exhibit 1
1Z0-805 question #61 exhibit 2

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 command.
  • EMake the add, delete, find, and update methods private for encapsulation.
  • FMake the getName and getId methods private fir encapsulation.

Unlock 1Z0-805 to see the answer

You've previewed enough free 1Z0-805 questions. Unlock 1Z0-805 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.

Topics

#DAO pattern#interface design#separation of concerns#class design
Full 1Z0-805 Practice