Java application that assigns hourly wages to employees

Assignment Help Basic Computer Science
Reference no: EM131218088

Hello,

Looking for some assistance in getting the homework problem started. I have to write a java program that assign employee id and wages and use exception to throw an exception if the assigned wage is less than $6 and over $50 dollars.

Write a Java application that assigns hourly wages to employees. Create an EmployeeException class whose constructor receives a String that consists of an employee ID and pay rate. Create an Employee class with two fields, an identification number and an hourly wage. The employee constructor requires values for both fields. Upon construction, throw an EmployeeException if the hourly wage is less than $6.00 or over $50.00. Write an application that creates at least three employees with hourly wages below, above and within the given range. Make sure that at least 2 exceptions are thrown and displayed. Call this main class ThrowEmployee.

Turn in your source files named--

Employee.java

EmployeeException.java

ThrowEmployee.java

Reference no: EM131218088

Questions Cloud

What is the total storage capacity of disk : You have a hard drive with 16,384 cylinders, 16 heads, and 63 sectors per track. What is the total storage capacity of this disk?
What are the advantages and disadvantages of the strategy : The three partners of an international joint venture, located in the Asian country of one of the partners, are locked in a profit distribution dispute that repeated negotiations between the partners have failed to resolve. They are beginning to th..
Interpretations of the nessus report and recommendations : For this Assignment, write a 4- to 6-page paper that summarizes your interpretations of the Nessus report and your recommendations to address the reported vulnerabilities. Cover the following points in your paper:
Prepare two to three paragraph summary of the given article : Create a mind map, and write a two to three paragraph summary of the article that includes three questions for the class and a hyperlink to the original current event article.
Java application that assigns hourly wages to employees : Write a Java application that assigns hourly wages to employees. Create an EmployeeException class whose constructor receives a String that consists of an employee ID and pay rate.
Why have developed economy firms not taken this ibs approach : Unrelated product diversification (conglomeration) is widely discredited in developed economies; however, in some cases it appears to add value in emerging economies. Is this interest in conglomeration likely to hold or decrease in emerging econom..
Problem regarding the flash memory cards : 1) Using your book and the Internet, please explain the following Flash Memory Cards:
How might it change a manager job : How might IT change a manager's job? Is monitoring an employees work on a computer a desirable or undesirable activity from a managers perspective?
Cost of communications services and components : We assume that EFG Corporation has two business offices. These offices are in the cities of Orlando and Miami. These cities are located 220 miles apart. We assume that there are 3 employees in Orlando and 6 employees in Miami. Further, we assume t..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Words of the strategic plan

Write a draft of no more than 1,800 words of the strategic plan for your organization, including the following:

  What is the difference between the definitions of measures

What kind of measurement scales (ratio, interval, etc.) characterizes the following software measures.

  Identify the communication protocols

Identify the communication protocols used in a large hospital organization.

  Create a start schema model

Imagine that you are a senior data warehouse architect for LECAL Corporation. Your company has been contracted by the U.S. Department of Education to develop a data warehouse which will track student performance on a series of planned nationwide t..

  Sorts rectangle objects

Sorts Rectangle objects

  Generate the same hash value

1. A 2,000-bit message is used to generate a 256-bit hash. One the average, how many other messages could be expected to generate the same hash value? What does this tell us about the length of a hash as compared to the length of the message?

  Allocation of virtual memory on workstation

Identify a graphical or command line utility that displays the allocation of virtual memory on your workstation.

  Write a c program that reads several different name

This union should itself contain two structures, one for baseball-related statistics and the other for football-related statistics. Test the program using a current set of league statistics. (Ideally, the program should be tested using both baseba..

  Determine the impact that other factors

Describe how the implementation process for such controls might vary based on the business type. Determine the impact that other factors such as physical security, device type, and connectivity (wireless or wired) might have on the choices that ar..

  Computer science vs computational science

Write an appropriate ME expression capturing the essence  - Weak artificial intelligence

  Discuss roles in a pci dss security assessment

The primary roles involved in a Payment Card Industry Data Security Standard (PCI DSS) security assessment are merchant, merchant's security personnel, merchant's networking personnel, service providers (if any), payment brand (such as Visa and Maste..

  Compute a compass sense of direction in such a network

Consider a synchronous square mesh with n nodes and without any sense of direction but with a designated leader. (a) Show how to compute a compass sense of direction in such a network.

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