PRO192_-_PE01_-_SP_2025_3490.webp
BichPhuong97

PRO192_-_PE01_-_SP_2025_3490.webp

☑Kizspy.me
Zoom
Professor
-department: String
+Professor(id:int, name: String,
standardSalary: double,
department:String)
+getDepartment ():String
+calculateActualSalary(): double
+toString():String
Where:
• Professor()-default constructor

Professor(id:int, name: String, standardSalary:
double, department:String) - parameterized
constructor, which sets the value to the id,
name, standardSalary and department of the
Professor.
• getDepartment (): String-return the department
of the Professor in uppercase.
⚫ calculateActual Salary(): double - returns the
actual salary of the Professor according to the
4 of 5
Paper No: 1
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRO192
Thêm bởi
BichPhuong97
Ngày thêm
Lượt xem
6,051
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom