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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 16:40, kaileyy06
Match each feature of e-publishing as an advantage, a disadvantage, a threat, or an opportunity. (choices) increased collaboration digitalized out-of-print versions monopoly over digital formats requirement for a specialized digital device pairs advantage of e-publishing disadvantage of e- opportunity for e- threat to e-
Answers: 1
image
Computers and Technology, 22.06.2019 05:30, donmak3833
Agood flowchart alludes to both the inputs and outputs you will need to receive and give to the user. true or false?
Answers: 3
image
Computers and Technology, 22.06.2019 15:00, nika0001
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
image
Computers and Technology, 22.06.2019 17:30, glocurlsprinces
Rachel completed typing an official document with a word processing program. she wants to make sure that her document has no typographical errors. she also wants all headings to have the same font. which features in a word processing program should she use? rachel should use the feature in a word processing program to find typographical errors. she should apply to have uniform headings.
Answers: 1
You know the right answer?
96 الا - 1:39 م | 0.1لك، بات و Java OOP Assignment (1) write a la program that comes information abo...

Questions in other subjects:

Konu
Mathematics, 10.07.2019 10:00
Konu
Mathematics, 10.07.2019 10:00