update,
This commit is contained in:
13
_resources/it114105/itp4510/Lab01/Lab1.3/Staff.java
Normal file
13
_resources/it114105/itp4510/Lab01/Lab1.3/Staff.java
Normal file
@@ -0,0 +1,13 @@
|
||||
public abstract class Staff {
|
||||
protected String name;
|
||||
protected int id;
|
||||
protected char grade;
|
||||
|
||||
public Staff(String name, int id, char grade) {
|
||||
this.name = name;
|
||||
this.id = id;
|
||||
this.grade = grade;
|
||||
}
|
||||
|
||||
public abstract void display();
|
||||
}
|
Reference in New Issue
Block a user