Published On Sep 1, 2024
Implement the class Teacher based on the class diagram and description given below.
Method Description
Teacher(String teacherName, String subject, double salary)
Initialize the values of all the instance variables appropriately with the values passed
Create a Tester class. Create 4 objects of Teacher class. Create an array of type Teacher store the created objects and display the details of the teachers.
show more