Which represents part of a DAO design pattern?
A.
class EmployeeDAO { void create (Employee e) {} void update (Employee e) {} void
delete (int id) {} Employee findByID (int id) {return id} }
B.
interface EmployeeDAO { void create (Employee e); void update (Employee e); void
delete (int id); Employee findByID (int id); }
C.
class EmployeeDAO { int getID() { return 0;} Employee findByID (int id) { return null;} void
update () {} void delete () {} }
D.
interface EmployeeDAO { int getID(); Employee findByID (intid); void update(); void
delete(); }
E.
interface EmployeeDAO { void create (Connection c, Employee e); void update
(Connection c, Employee e); void delete (Connection c, int id); Employee findByID
(Connection c, int id); }
B