Question Design a class named Person and its two subclassesnamed Student and Employee. Make Faculty and Staff subclasses ofEmployee. A Person has a name and Phone Number. An employee hassalary. A faculty member has a rank. A staff member has a title.Override the toString() method in each class to display the classname and the person’s name. 1. Draw the UML diagram for the classesand implement them. 2. Write a test program that creates a Person,Student, Employee, Faculty and Staff, with their getter methods andinvokes their toString() methods. 3. Write a method calledtoDisplay in class Person to display the phone number
OR
OR