PG 126, 3.14, Create a class called Employee that includes three pieces of information as instance variables--a first name (type String), a last name (type String) and a monthly salary (double). Your class should have a constructor that initializes the three instance variables. Provide a set and a get method for each instance variable. If the monthly salary is not positive, set it to 0.0. Write a test application named EmployeeTest that demonstrates class Employee's capabilities. Create two employee objects and display each object's yearly salary. Then give each Employee a 10% raise and display each Employee's yearly salary again.
the last name isn't printing correctly. :)
axydlbaaxr 4 months ago
GREAT WORK BUDDY. YOU CREATED YEARS AGO AND ITS STILL GOING STRONG. THANKS FOR ALL YOUR WORK. YOUR BETTER THAN MY JAVA TEACHER AND THAT'S AN UNDERSTATEMENT....
chriskittel2003 8 months ago
man, if i could send you a million dollars for what you have done...i would.....you have saved my life. thank you
Herthan 1 year ago
excellent work
DJlinkz 2 years ago