Please I need help with this exercise in Java.
1. Create a class, Person, with an instance variable, name. write appropriate getters and setters for the class. Also write a toString method for the class. 2. Employee that extends Person and has two additional Inst var, id & payRate, & an additional method, pay, that returns the Pay Rate, override the toString method accordingly. 3. Faculty, that extends Employee, & has 2 additional variables; officeHours of type String & teachingCourses, which is an array of courses. Each course has a course code & course title. Write appropriate getters, setters and toString methods for the class. 4. TestPersons, that has two methods; void printPerson (Person p) that prints it's argument. And a main method that creates an instance of each of the above classes and prints it using printPerson method.