You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define a class named Teacher consists of the following attributes: name and hours worked. Add another constant named RATE = 30.00 per hour. Methods included in the class are: computePay( ) – return salary based on numbers of hours worked multiply by RATE. displaySalary( ) – received an object from class Teacher to display name, hours worked and salary obtained. In driver class named TestTeacher, create an array of 5 objects from class Teacher and call method displaySalary( ).
#14
Open
Peiruz opened this issue
Aug 17, 2020
· 0 comments
Someone please help me....
The text was updated successfully, but these errors were encountered: