This directory contains example Java code.
Person.java
A generic Person class. Declared "abstract" because it declares a method whatAmI() but provides no implementation.
Faculty.java
A subclass of Person that implements whatAmI() along with other methods related to Faculty. Includes a toString() method for representing this kind of object as a String.
Staff.java
Another subclass of Person that is similar to Faculty.
Test.java
this program demonstrates how to use a Vector to hold objects. The objects are of different types yet when we treat them as Person objects, the right code gets executed (for example when printing). Play with this code a bit to see how Java works.
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT]Faculty.java 2016-09-19 14:49 1.7K 
[TXT]Person.java 2016-09-19 14:49 2.3K 
[TXT]Staff.java 2016-09-19 14:49 1.8K 
[TXT]Test.java 2016-09-19 14:49 1.9K