READ Free Dumps For Oracle- 1z0-804
Question ID 21431 | Which represents part of a DAO design pattern? |
Option A | interface EmployeeDAO { |
Option B | class EmployeeDAO { |
Option C | class EmployeeDAO { |
Option D | interface EmployeeDAO { |
Option E | interface EmployeeDAO { |
Correct Answer | D |
Question ID 21432 | Given: Which group of method is moved to a new class when implementing the DAO pattern? |
Option A | public in getId () |
Option B | public int getId () |
Option C | public void setContractDetails(String contractDetails) public void setName(String name) |
Option D | public Person getPerson(int id) throws Exception |
Option F | Correct Answer: D Explanation: The methods related directly to the entity Person is moved to a new class. Example (here Customer is the main entity): |
Correct Answer | F |