2023 1 Employee Class Create a class called Employee that includes three instance variables a | Assignment Collections
Computer Science 2023 Java
2023 1 Employee Class Create a class called Employee that includes three instance variables a | Assignment Collections
1- (Employee Class) Create a class called Employee that includes three instance variables—a first name (type String), a last name (type String) and a monthly salary (double). Provide 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, 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.
2-
- (Sales Commission Calculator) A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, salesperson who sells $5,000 worth of merchandise in a week receives $200 plus 9% of $5000, or total of $650. You’ve been supplied with a list of the items sold by each salesperson. The values of these items are as follows:
- Item Value
- 1 239.99
- 2 129.75
- 3 99.95
- 4 350.89
- Develop a Java application that inputs one salesperson’s items sold for last week and calculates and displays that salesperson’s earnings. There’s no limit to the number of items that can be sold.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.