subject

96 الا - 1:39 م | 0.1لك، بات و Java OOP Assignment (1) write a la program that comes information about a company. You should define two classes Employee which represents the employees in the company and Department which represents the departments the employees are in Class definition The classes should have the following field Department String name Emple String firstName String lastName • double salary • Department dat Notes: 1 All hould be grate 2. You should den a constructor that takes as parameters al fields in each class 3. You should define a getter and a setter for all fields in each dass. 1. The field salary on des Employee should never be a parte number 5. You should define a method flere and Employee that returns the employees full name as a Store Main Program for you have dified the chaises, the main method deline two objects of type Department as follow ame 1 Sales 2 Accountine 1000 The define an array of type Employee and it with the following Employee objects firstName Test None sale. department 1 lah White Department obert 1 2 Dwuid Ford 15.00 Department object 1 S 3 Sophie Berch 1200 Department object 1 Sales Mary How 1300 Department object 2 (Account 5 Susan Brand 3400 Department object 2 Asunting the program should show the user the following menu and wait for input from the user: 1. Show al employees 2. Show en plomes for department 3 Show employee with massory Option : Chow the employee full name, calary and copaman sanator al employee 1. shon all employees 2. She saployees for department 3. Shon enployer with sax salary 2 Nane Salary Departrent John White 1000. Seles Sophie Beach 1208.6 Sales Devid Ford 1500.8 Seles Mary Howe 1309.B Accounting Susan Brand 1400. Accounting


96 الا - 1:39 م | 0.1لك، بات و Java OOP Assignment (1) write a la program that comes information ab

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:00
Will this setup result in what kathy wants to print?
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Which of the following terms refers to a collection of different types of software that share the goal of infiltrating a computer and making it do something? a- malware b- virus c- spyware d- trojan horse
Answers: 2
question
Computers and Technology, 24.06.2019 17:50
You work in the accounting department and have been using a network drive to post excel workbook files to your file server as you complete them. when you attempt to save a workbook file to the drive, you see the error message: “you do not have access to the folder ‘j: \’. see your administrator for access to this folder.” what should you do first
Answers: 2
You know the right answer?
96 الا - 1:39 م | 0.1لك، بات و Java OOP Assignment (1) write a la program that comes information abo...
Questions
question
History, 20.02.2020 22:19
question
Mathematics, 20.02.2020 22:19
question
History, 20.02.2020 22:19
Questions on the website: 13722363