Inheritance
Design a Superclass Teacher having two attributes (TeacherId, TeacherName)and three methods(getTeacherId( ),  getTeacherName( ), display())   then design another subclass  Department that is extended  from Superclass Teachers and having two methods  (getDepartment( ) and toString()) and one attribute DepartmentName. Use the following class daigram . 
Class Daigram
Super Class Teacher
Attributes
public int TeacherId
public String TeacherName
Methods
public void getTeacherId( )
public void getTeacherName( )
public void display( )
Sub class Department
Attributes
public String DepartmentName
Methods
public void getDepartment( )
public void toString( )
                           
Random StepsActionsProposed StepsPsedu Code





No of Errors:
Select any step from the first List Box and move it to the second List Box and make all its lines into correct steps of sequential order, using the Arrow Keys   
                               .