Description: Person class inheritance, special property of the respective school number, work number. Required to add a variety of methods, including constructors, getter/setter methods, toString method, equals methods, and compareTo method. ToString method which, equals method subclasses to override the parent class method compareTo method based on the student number or job number to compare, from a Person in the inherited abstract method that returns-1, 0, representing less than, equal to, large at.
To Search:
File list (Check if you may need any files):
Emperiment3\.classpath
...........\.project
...........\多态实验.doc
...........\src\com\wgw\tools\ArrayTools.java
...........\...\...\...\.est\Text.java
...........\...\...\...\entities\Person.java
...........\...\...\...\........\Student.java
...........\...\...\...\........\Teacher.java
...........\bin\com\wgw\tools\ArrayTools.class
...........\...\...\...\.est\Text.class
...........\...\...\...\entities\Person.class
...........\...\...\...\........\Student.class
...........\...\...\...\........\Teacher.class
...........\.settings\org.eclipse.jdt.core.prefs
...........\src\com\wgw\tools
...........\...\...\...\test
...........\...\...\...\entities
...........\bin\com\wgw\tools
...........\...\...\...\test
...........\...\...\...\entities
...........\src\com\wgw
...........\bin\com\wgw
...........\src\com
...........\bin\com
...........\src
...........\bin
...........\.settings
Emperiment3