-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStudent.java
More file actions
95 lines (73 loc) · 1.87 KB
/
Student.java
File metadata and controls
95 lines (73 loc) · 1.87 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import java.util.Scanner;
public class Student
{
private String StudentId;
private String StudentName;
private String StudentNum;
private String StudentAddress;
private double CreditHour;
private String StudentStatus;
private double TotalPayment;
private double PaymentPaid;
public Student()
{
StudentId = null;
StudentName = null;
StudentNum = null;
StudentAddress = null;
CreditHour = 0.00;
StudentStatus = null;
TotalPayment = 0.00;
PaymentPaid = 0.00;
}
public String getStudentId()
{
return StudentId;
}
public String getStudenName()
{
return StudentName;
}
public String getStudentNum()
{
return StudentNum;
}
public String getStudentAddress()
{
return StudentAddress;
}
public double CreditHour()
{
return CreditHour;
}
public String getStudentStatus()
{
return StudentStatus;
}
public double TotalPayment()
{
return TotalPayment;
}
public double PaymentPaid()
{
return PaymentPaid;
}
public void setAll(String id, String name, String num, String add, double chr, String s, double total, double paid)
{
this.StudentId = id;
this.StudentName = name;
this.StudentNum = num;
this.StudentAddress = add;
this.CreditHour = chr;
this.StudentStatus = s;
this.TotalPayment = total;
this.PaymentPaid = paid;
}
public String toString()
{
return ("Student ID :" + StudentId);
}
public void displayBalance()
{
}
}