Write Java code for person class with two private instance variables, provide toString method along with getters and setters. Extend this Person class to Student and Teacher class. Add some instance members shown in the following UML diagram.
Write Test class to demonstrate Student and Teacher class.