-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScore.java
More file actions
37 lines (29 loc) · 693 Bytes
/
Score.java
File metadata and controls
37 lines (29 loc) · 693 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
30
31
32
33
34
35
36
37
/**
*
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
public class Score {
private String nick;
private String date;
private String score;
public Score( String nick, String date, String score ) {
this.nick=nick;
this.date=date;
this.score=score;
}
public String getNickName() {
return nick;
}
public String getDate() {
return date;
}
public String getScore() {
return score;
}
public String toString() {
return nick + "\t" + date + "\t" + score;
}
}