Which represents part of a DAO design pattern?
A.
interface EmployeeDAO { 
int getID(); 
Employee findByID (intid); 
void update(); 
void delete(); 
}
B.
class EmployeeDAO { 
int getID() { return 0;} 
Employee findByID (int id) { return null;} 
void update () {} 
void delete () {} 
}
C.
class EmployeeDAO { 
void create (Employee e) {} 
void update (Employee e) {} 
void delete (int id) {} 
Employee findByID (int id) {return id} 
}
D.
interface EmployeeDAO { 
void create (Employee e); 
void update (Employee e); 
void delete (int id); 
Employee findByID (int id); 
}
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); 
}
Explanation:
Why would C and E be wrong?
C is wrong because c is class that means you just choose one override but the question is DAO design pattern so you need declare interface all override
D