Write the necessary classe as explained below, In each class, write the appropriate set and get methods. Allow user to enter several information and display the result.
1. Write a class Person having IC, name, job and gender. Use boolean for gender.
2. Write a subclass Adminstaff having department and status (indoor/outdoor). Use boolean for status.
3. Write a subclass AcademicStaff having school and status (in class/in room). Use boolean for status.
4. Write a client class Staff to test these classes. Allow user to enter the number or staff and allow user to enter the information of each staff. Display the information, formatted nicely.