Short Answer
Design and implement classes.
Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email 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. Define a class named MyDate that contains the fields year, month, and day. 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.
Draw the UML diagram for the classes. Write the code for the Student class only.
Correct Answer:

Verified
class Student extends Person {
public s...View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Correct Answer:
Verified
public s...
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q15: Design and use interfaces <br>Write a class
Q16: After the following program is finished, how
Q17: Design and create GUI applications <br>Write a
Q18: If a class named Student has no
Q19: How can you get the word "abc"
Q20: If a class named Student has a
Q21: What is displayed on the console when
Q22: Analyze the following program. class Test {<br>Public
Q24: An attribute that is shared by all
Q25: Write a program that converts US dollars