Question: answer quickly. java 2 ary-1560) 12 pts! Implement the driver class (application) as follows: a) Create an array of employees and store in the array
ary-1560) 12 pts! Implement the driver class (application) as follows: a) Create an array of employees and store in the array 1 Salesman and 4 IT objects whose values are given by the programmer. 15 pts b) Using a loop set the sales of the salesman object (assume that the salesman can be in any cell) for the 12 months (the values of month and sales should be read from the user). 15 pts c) In another loop output the salary of all IT objects in the array 15 pts d) In another loop output the information of all objects in the array, 15 pts) Consider the following interface and three classes. interface >> Bonus +RATE: double +calculateBonus (): double Employee -name:String -adress: String +Employee in: String, a: String) +toString(): String +getSalary(): double Salesman -sales : int [l *Salesman in: String, a: String get Salary(): double setsale (monthiint, sale: double):void +toString(): String -aalary double +T( n:String, a:String, 8: double) *getSalary(): double tostring String
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
