Simple Inheritance exercise. This is 100 level course, so only basic commands should be used. Nothing besides basic simple beginner code will be accepted. Can use Super, Abstract or interface class to design.
Implement a class named Person and two subclasses of Person named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and e-mail address. A student has a class status, (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has an office, salary, and date-hired. A faculty member has office hours and a rank. A staff member has a title. Override the toString method in each class to display the class name and the person's name.
Keep the solution simple. There is no need to store these person objects in an sort of database, IE arraylist or anything of the sort. These objects only need to inherit the fields from the super class and have the local variables that are designated for that particular class. The person does not need to be created from the terminal window or anything like that. It is allowed to be extremely simple!!!!
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
Blue J environment only.