-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
29 lines (24 loc) · 719 Bytes
/
User.java
File metadata and controls
29 lines (24 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
public class User {
private String username;
private char[] password;
private String securityQuestion;
private String securityAnswer;
public User(String username, char[] password, String securityQuestion, String securityAnswer) {
this.username = username;
this.password = password;
this.securityQuestion = securityQuestion;
this.securityAnswer = securityAnswer;
}
public String getSecurityQuestion() {
return securityQuestion;
}
public String getSecurityAnswer() {
return securityAnswer;
}
public String getUsername() {
return username;
}
public char[] getPassword() {
return password;
}
}