摘要:
思路 补充:oop三大特性:封装,多态,继承 封装:属性私有,利用get/set获得,(注:在set中限定不安全情况) 1 实现各角色人数统计 1.1 dao层接口 public int getUserCount(Connection connection,String username,int u 阅读全文
摘要:
建议从底层向上写 步骤: 1.UserDao接口 //修改用户密码 int updatePwd(Connection connection,int id,int password) throws SQLException; 2.UserDao接口实现类 //修改当前用户密码 public int u 阅读全文