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, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Formatting rows and columns is similar to cell formatting. in an openoffice calc spreadsheet, you can format data entered into rows and columns with the of the rows and columns options. you can insert rows and columns into, or delete rows and columns from, a spreadsheet. use the insert or delete rows and columns option on the insert tab. alternatively, select the row or column where you want new rows or columns to appear, right-click, and select insert only row or only column options. you can hide or show rows and columns in a spreadsheet. use the hide or show option on the format tab. for example, to hide a row, first select the row, then choose the insert tab, then select the row option, and then select hide. alternatively, you can select the row or columns, right-click, and select the hide or show option. you can adjust the height of rows and width of columns. select row and then select the height option on the format tab. similarly, select column, then select the width option on the format tab. alternatively, you can hold the mouse on the row and column divider, and drag the double arrow to the position. you can also use the autofit option on the table tab to resize rows and columns.
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
According to your study unit, what is the main reason that improved human relations skills may improve your grades?
Answers: 1
question
Computers and Technology, 25.06.2019 04:10
8. create an abstract student class for parker university. the class contains fields for student id number, last name, and annual tuition. include a constructor that requires parameters for the id number and name. include get and set methods for each field; the settuition() method is abstract. create three student subclasses named undergraduatestudent, graduatestudent, and studentatlarge, each with a unique settuition() method. tuition for an undergraduatestudent is $4,000 per semester, tuition for a graduatestudent is $6,000 per semester, and tuition for a studentatlarge is $2,000 per semester. write an application that creates an array of at least six objects to demonstrate how the methods work for objects for each student type. save the files as student.java, undergraduatestudent.java, graduatestudent.java, studentatlarge.java, and studentdemo.java.
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
question
Mathematics, 20.05.2020 23:59
question
Mathematics, 20.05.2020 23:59
question
Mathematics, 20.05.2020 23:59
Questions on the website: 13722367