Create a class called employee

Assignment Help JAVA Programming
Reference no: EM13754885

Create a class called Employee that has the following attributes:

• Employee ID of type String
• First name of type String
• Last name of type String
• Job Position of type String
• Fulltime of type Boolean
• AnnualSalary of type double
• WeeklySalary of type float

For each of the attributes above create setter and getter methods. The WeeklySalary should be calculated by dividing AnnualSalary by 52.

Create a separate test class (EmployeeTest) with the main method and within the test class that instantiates2completely separate employees and demonstrates that the setter and getter methods are working.

Finally, either overload the toString method of Employee or create a separate Employee display method to print out your employee information.

Reference no: EM13754885

Questions Cloud

Multinational financial management : Imagine that you work for a corporation that is doing very well in the domestic market. Compare and contrast the overall pros and cons of accessing global markets, and recommend whether or not the company should consider such expansion. Provide a ..
Net realizable value of the accounts receivable : After the accounts are adjusted at the end of the year, Accounts Receivable has a balance of $215,000, Uncollectible Accounts Expense has a balance of $17,500, and Allowance for Doubtful Accounts has a balance of $12,500. What is the net realizabl..
Summarizes the of macroeconomic analysis : Write a 750-word paper that summarizes the of macroeconomic analysis - history of your chosen ETF, in terms of U.S. dollars, by checking or entering the ETF call letters or ticker symbol in a financial search engine such as Yahoo! Finance.
Create a java class called student : Create a Java class called student with the following instance variables: private String studentName
Create a class called employee : Create a class called Employee that has the following attributes: Employee ID of type String, First name of type String, Last name of type String
The implied multiplier associated with the stimulus package : If we assume that this growth resulted from the ARRA stimulus package, what was the implied multiplier associated with the stimulus package?
Dimensions of the business culture in the selected country : Determine the major elements and dimensions of the business culture in the selected country - Determine how these elements and dimensions are integrated by local residents conducting business in the country.
Government support of technological innovation : Research and identify how the U.S. government supports innovative technology activities in companies. Discuss at least two government sponsored programs and explain the positive effects these programs have on technology innovation in the private s..
What is the data type : What is the data type and What is the type of the parameter

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

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

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