update,
This commit is contained in:
9
_resources/it114105/itp3914/Lab12/Ex2/Ex2.java
Normal file
9
_resources/it114105/itp3914/Lab12/Ex2/Ex2.java
Normal file
@@ -0,0 +1,9 @@
|
||||
public class Ex2 {
|
||||
public static void main(String [] args) {
|
||||
Employee emp = new Employee("John", 31520);
|
||||
FTEmployee ftemp = new FTEmployee("Mary", 42680, 15000.5);
|
||||
|
||||
System.out.println(emp);
|
||||
System.out.println(ftemp);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user