Design an employee class

Assignment Help Programming Languages
Reference no: EM13805240

Employee Production Worker Program-

Design an Employee class that has fields for the following pieces of information:

Employee Name
Employee Number

Next, design a class named ProductionWorker that extends the Employee class. The ProductionWorker class should have fields to hold the following information:

Shift Number (an integer, such as 1, 2, or 3)
Hourly Pay Rate

The workday is divided into two shifts: day and night. The shift field will hold an integer value representing the shift that the employee works. The day shift is shift 1 and the night shift is shift 2. Design the appropriate accessor and mutator methods for each class.
Once you have designed the classes, design a program that creates an object of the ProductionWorker class and prompts the user to enter data for each of the object's fields. Store the data in the object and then use the object's accessor methods to retrieve it and display it on the screen.

You are to submit the following for the assignment:

Submit your JAVA source code that you generated from RAPTOR with comments added to each line or where necessary to explain program flow. Also submit the RAPTOR file (flowchart) of your working program.

Make sure you run it to make sure it is error free and does what it is supposed to.

You can use the generate dropdown to create example JAVA code based on your working logical flow chart to see what the code would look like.

Reference no: EM13805240

Questions Cloud

Explain responsibility of a critical thinker in a society : Research the responsibility of a critical thinker in a contemporary society. You may choose any topic that deals with a contemporary social concern.
The difference in taste between sprite and sierra mist : Assume that the observations are independent of each other. Which hypothesis test is the appropriate one to use in this situation? Why?
What are the issues your organization or group is concerned : What is the organization or group's website. What are the issues your organization or group is concerned with
An automatic transmission and a sun roof based problems : If a citizen who is a Republican is randomly selected, what is the probability that they voted in the last election?
Design an employee class : Design an Employee class that has fields for the following pieces of information: Employee Name and Employee Number
Identify ethical perspectives in the global organization : Identify and research a cultural issue that affects this organization's interactions outside the United States. Define the issue and provide an overview of how became an issue in the organization.
Continuous improvement of a company : Assume that you have recently been hired as the director of continuous improvement of a company. You are an outside hire with limited history of the firm and personal capital at the firm, and you are responsible for lean production, total quality ..
What role would the pmt function and vlookup function play : What role would the PMT function and the VLOOKUP function play in what-if analysis? Include in your answer an explanation of what what-if analysis and how those functions fit in with it
Explain why nafta has not been good for the united states : It is a debate and i was assigned the no side. so the paper has to be about why nafta has not been good for the United States.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd