experience: int, projects: int)
Kizspy.me getters & setters
+ toString(): String
+ getLevel(): String
Developer(salary: double, experience: Int, projects:
int) parameterized constructor, which sets values to
-
salary, experience, projects.

getters & setters: write the setters and getters all of the
fields.

getLevel(): String - returns the level of the developer.
If the number of projects is greater than or equal to 5,
level is "Senior Developer", otherwise level is "Junior
Developer"
.toString(): String return the string format that
contains all the information of the Developer: salary-
experience-projects-level. The salary must be
formatted to two decimal places.
Enter salary: 1000000
4 of 5
Paper No: 1
Zoom
+ 100%
The program output might look something like this
Enter salary: 5000000
Enter salary: 5000000
Close