设计了一个名为Person和它的两个子类名为Student和Employee。使Employee有Faculty和Staff两个子类。每个person有一个name,address, phone number, and email address。每个Student有一个相应的年级status( freshman,sophomore,junior, or senior)。定义status为常数。每一个employee都有office, salary, and date hired(办公室,工资和录用日期)。定义一个名为MyDate的类,包含字段年,月,日。每个faculty成员都有office hours and a rank。每个staff成员有一个title。在每个类中重写toString方法来显示class name和person’sname。
写一个测试程序创建一个人,学生,员工,教师和工作人员,并调用其的toString()方法。
尽量写简单一点、完整的调通的程序哦、拜托啦。
想多给的,可是没有财富值了。
追答哦