-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStudent.java
More file actions
59 lines (53 loc) · 1.28 KB
/
Copy pathStudent.java
File metadata and controls
59 lines (53 loc) · 1.28 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import java.util.ArrayList;
public class Student {
private String lastFirstName;
private String sex;
private String birthday;
private String numberPhone;
private Group group;
private int id;
private ArrayList<String> characters;
private boolean present;
public Student(String lastFirstName, String sex, String birthday, String numberPhone, Group group, ArrayList<String> characters)
{
this.lastFirstName = lastFirstName;
this.sex = sex;
this.birthday = birthday;
this.numberPhone = numberPhone;
this.group = group;
this.characters = characters;
this.present = false;
}
public void AddPresent(boolean pres)
{
present = pres;
}
public boolean GetPresent()
{
return present;
}
public String GetLastFirstName()
{
return lastFirstName;
}
public String GetSex()
{
return sex;
}
public String GerBirthdey()
{
return birthday;
}
public String GetNumberPhone()
{
return numberPhone;
}
public Group GetGroup()
{
return group;
}
public ArrayList<String> GetCharacters()
{
return characters;
}
}