[SOLVED] COP3330 Assignment 3

40.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (2 votes)

Create a class called Employee that includes three instance variablesa first name (type String), a last name

Provide a constructor that initializes the three instance variables. Provide a set and a get method for each i
If the monthly salary is not positive, do not set its value.
Write a test app 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.

Problem 3.13 from Java How to Program (11th edition) by Paul Deitel & Harvey Deitel

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.