Suppose you have the User class:
class User {
public String name;
public int id;
// constructor
// getters and setters
// toString
}Use the DAO pattern and create the UserDao interface which implements the following methods:
addwhich getsUserand returnsvoidgetwhich getsintand returnsUserupdatewhich getsUserand returnsvoiddeletewhich getsintand returnvoid
Do not change the provided code of the classes. You only need to fix the lines marked by comments /* write your code here */.