PRO192_-_PE_-_SU_2023_-_1_HCM_ca_14h_275.webp
H

PRO192_-_PE_-_SU_2023_-_1_HCM_ca_14h_275.webp

4 of 4 Paper No: 1
The Main.class is ready and used to run the project. When running, the program will add some data to the list. Sample output might look something like this:
1. Test constructor and toString()
1.Test constructor and toString()
2. Test Setters and Getters
2.Test Setters and Getters
3.Test raiseSalary()
3.Test raiseSalary()
Enter TC(1,2 or 3): 1
Enter TC(1,2 or 3): 2
Enter the Employee id:1
Enter the Employee id:5
Enter the Employee lastName:alan
Enter the Employee lastName:alex
Enter the Employee firstName:smith
Enter the Employee firstName:fegi
Enter the Employee salary:30
OUTPUT:
Enter the Employee salary:50
OUTPUT:
id is:5
Employeelid 1,name-alan smith, salary=30]
firstname is:fegi
lastname is:alex
salary is:50
name is: fegi alex
annual salary is:600
1. Test constructor and toString()
2.Test Setters and Getters
3.Test raiseSalary()
Zoom
+ 80%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRO192_-_PE_-_SU_2023_-_1_HCM_ca_14h_275.webp
File size
41.8 KB
Dimensions
1536px x 793px

Share this media

Back
Bên trên Bottom