update,
This commit is contained in:
11
_resources/it114105/itp3914/Lab12/Ex2/FTEmployee.java
Normal file
11
_resources/it114105/itp3914/Lab12/Ex2/FTEmployee.java
Normal file
@@ -0,0 +1,11 @@
|
||||
public class FTEmployee extends Employee {
|
||||
double salary;
|
||||
FTEmployee(String name, int employeeID, double salary){
|
||||
super(name, employeeID);
|
||||
this.salary = salary;
|
||||
}
|
||||
|
||||
public String toString(){
|
||||
return super.toString() + ", Salary: " + salary;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user