2.建UserInfo类:
package aop.secure; public class UserInfo { private String userName; private String password; public UserInfo(String userName, String password){ this.userName = userName; this.password = password; } public String getPassword() { return password; } public String getUserName() { return userName; } } |
package aop.secure; public class SecureBean { public void writeSecureMessage(){ System.out.println("Every time I learn something new and it pushes some old stuff out of my brain."); } } |
新闻热点
疑难解答
图片精选