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

  Which multiplication is possible perform it using matlab

Generate a matrix D = [A;B]. Now generate a new matrix E = [D C]. Find the determinant of matrix E. Find the inverse of matrix E. Find the transpose of matrix E. Define a new matrix F = [16;3;17;12;-2]. Define another matrix H = [5 7 4 -2 -1;-9 3 12 ..

  Calculate the sum of those integers that are divisible by 5

Calculate the sum of those integers that are divisible by 5. Store those integers and their sum in an array and as an integer variable, respectively.

  Business and computing knowledge that system analysts

Question 1: In addition to the business and computing knowledge that system analysts should possess, what are the other essential skills that they need to effectively complete their jobs?

  Difference between ipo and event driven programming

To add new menu items to an MFC application, you start by going to what view? So the menus are stored in what kind of files?

  Define usefulness of office suites

Assume that you did not have access to Microsoft Office or other compatible application suites. Describe at least three (3) tasks that you would not be able to perform without Microsoft Office 2013.

  Class about effective communication

In the last portion of the paper you will provide advice to one or more of the characters in the movie about their communication. Use what you've learned in class about effective communication, and help one or more of the characters get better.

  Discuss the differences and similarities of the two pyramid

The design pyramid for OOD differs somewhat from the pyramid described for conventional software design (Chapter 13). Discuss the differences and similarities of the two pyramids.

  What are they and can they be measured directly

What are they and can they be measured directly?

  Give reasons why this is good for users

Explain why this is bad for users. Now give reasons why this is good for users.

  How would you ensure that the diagnosis is correct

There is a diagnosis of a bad video card on a client's computer made by another technician. The client would like to have a new video card installed on the desktop. How would you ensure that the diagnosis is correct

  Design a program that will read a file of employee records

Design a program that will read a file of employee records containing employee number, employee name, hourly pay rate, and regular hours worked and overtime hours worked. The company pays its employees weekly, according to the following rules:Regular..

  What information to save-process moves from running to idle

When a process moves from running to idle, the state of the machine has to be saved. Obviously this cannot mean the whole state, as there would be no place to save it. Just what information has to be saved?

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