Create an abstract class employee

Assignment Help Business Management
Reference no: EM132399066

In Java Create a PSEUDOCODE and Create an abstract class Employee. Your Employee class should include the following attributes: First name (string) Last name (string) Employee id (string) Employee home street address (string) Employee home city (string) Employee home state (string) Write a constructor to initialize the above Employee attributes. Create an abstract method called earnings.

Create another class HourlyEmployee that inherits from the abstract Employee class. HourEmployee must use the inherited parent class variables and add in attributes HourlyRate and HoursWorked. Your HourEmployee class should contain a constructor that calls the constructor from the Employee class to initialize the common instance variables but also initializes the HourlyRate and HoursWorked. Implement the Employee abstract earnings method in HourlyEmployee to calculate the earnings for a week. Note that earnings is hourly rate * hours worked.

Create a test class that prompts the user for the information for two hourly employees, creates the 2 two hourly employees objects, calls the earnings method then displays the attributes and earnings for each of the two hourly.

Reference no: EM132399066

Questions Cloud

List the computational steps in training a convolutional : List the computational steps in training a convolutional neural network for image recognition via gradient descent through backpropagation.
National cybersecurity protection system : The National Cybersecurity Protection System (NCPS) is an integrated system-of-systems that delivers a range of capabilities, including intrusion detection,
What are the updated parameters : What are the updated parameters b1, w1, w2, and w3 during backpropagation with momentum and without momentum with a learning rate parameter eta?
Which images of change did those two managers illustrate : If possible, choose to interview managers from different organizations and sectors, to provide contrast. Once you have collected this interview evidence.
Create an abstract class employee : In Java Create a PSEUDOCODE and Create an abstract class Employee. Your Employee class should include the following attributes: First name (string) Last name
Differences between static and dynamic routing : What are the differences between static and dynamic routing? In what situation where static routes would be implemented?
Compromise of company organization through virus or malware : Find an article which describes the compromise of a company organization through a virus or malware
Compare leadership and management in brief : Prepare and submit a 4 - 5 page paper that defines, compares and contrasts leadership and management, identifies the traits and characteristics of effective.
Scope of cloud computing audit for your business : Define several forms of metadata that can be useful to an investigation. How are valuable to an investigator? Scope of cloud computing audit for your business.

Reviews

Write a Review

Business Management Questions & Answers

  Who makes the final hiring decision

Who makes the final hiring decision? What legal issues should be considered? Should a candidate's perception of fairness be considered?

  What benefits can a diverse workforce provide

What benefits can a diverse workforce provide to an organization? What are the possible negative consequences for an organization that does not embrace

  Healthy and effective culture

1) Why is innovation so closely linked to a healthy and effective culture. Why is it important?

  Position of the facilities coordinator

1. The facilities coordinator is a critical role .put yourself in the position of the facilities coordinator. 2. Determine and list the qualities you have that would make you an excellent candidate for the position.

  Explain importance of ethics and the steps you might take

If you were the top sport administrator/manager of an organization, explain the importance of ethics and the steps you might take to prevent unethical.

  Purchase of a video recorder

Best Stuff, inc, had sales of $90,000 of its new video recorders. The company gives a two-year warranty with the purchase of a video recorder.

  Identify the test statistic for this hypothesis test

Identify the test statistic for this hypothesis test. Identify the? P-value for this hypothesis test.

  The regular rise in health expenditures has been attributed

The regular rise in health expenditures has been attributed, in some part to the development as well as utilization of new technologies.

  How to do a stem and leaf plot

Is there anyone out there who knows how to do a stem and leaf plot?

  How important is service after the sale

How important is service after the sale? How should salespeople stay in contact with customers?

  Regards to facilitate workplace learning

1. What skill will you need in regards to facilitate workplace learning?

  Purpose of resume or curriculum vitae cv1 the purpose for

purpose of resume or curriculum vitae cv1. the purpose for each type of resume how they differ and when you personally

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