Which group of method is moved to a new class when implementing the DAO pattern?

Given: Which group of method is moved to a new class when implementing the DAO
pattern?

Given: Which group of method is moved to a new class when implementing the DAO
pattern?

A.
public in getId () public String getContractDetails () public Void setContractDetails(String
contactDetails) public String getName () public void setName (String name)

B.
public int getId () public String getContractDetails() public String getName() public Person
getPerson(int id) throws Exception

C.
public void setContractDetails(String contractDetails) public void setName(String name)

D.
public Person getPerson(int id) throws Exception public void createPerson(Person p)
throws Exception public void deletePerson(int id) throws Exception public void
updatePerson(Person p) throws Exception



Leave a Reply 1

Your email address will not be published. Required fields are marked *