Hard code the names

Assignment Help Basic Computer Science
Reference no: EM131220740

Making a Java program with in which I to create a main() in it and another code file with a separate class. Also needs creating objects of the class in the running program. The system handles employee records and processes payroll for them. Create a class called Employee that holds: first name, last name, monthly salary, and sales bonus. The class should have all the gets and sets and have a method to report the yearly salary.(monthly salary * 12 + the sales bonus.)

It cannot have spaces in variable names so you might call the first one firstName, first_name, fname or any other appropriate and legal variable name. The write up above is telling you the information to be stored in English, not java.]

Hard code the names, and salaries you are storing in the 2 employee objects

Need to create 2 objects of Employee in your main code class and display their names, monthly, and yearly salaries. Then give them each a 100 pay raise to their monthly salary. (so use the get() to read it out to a variable, add 100, then use the set() to store it back in) Then display their names, monthly, and yearly salaries again.

Reference no: EM131220740

Questions Cloud

10year conventional bonds and 10year inflation indexed bonds : For the most recent data, compare the rates on 10-year conventional bonds and 10-year inflation-indexed bonds. What do these rates tell us about expectations of future inflation?
Where in this chapter did we use this property : What is the purpose of the XMLHttpRequest responseType property, and what values can you assign to this property? What is the purpose of the XMLHttpRequest upload property? Where in this chapter did we use this property?
Why you have chosen this topic for your literature review : Write one to two paragraphs (a) summarizing the problem area (be specific in defining the problem), (b) describing what you already know about the topic, and c) why you have chosen this topic for your literature review. The topic should apply psyc..
How events affects the supply and demand for loans : Using the loanable funds theory, show in a graph how each of the following events affects the supply and demand for loans and the equilibrium real interest rate:
Hard code the names : It cannot have spaces in variable names so you might call the first one firstName, first_name, fname or any other appropriate and legal variable name. The write up above is telling you the information to be stored in English, not java.] Hard code ..
Whether given event is likely to reflect good economic news : Using the loanable funds theory, discuss whether this event is likely to reflect good economic news or is a sign of trouble.
Program flowchart and corresponding pseudcode : The Fibonacci series is defined to be the following numbers: 0,1,2,3,5.8,... where each number is the sum of the previous two numbers. Construct a program flowchart and corresponding pseudcode that will compute and output the first number greater ..
What needs to be done to create database : Assume you have a customer who would like to track inventory including vendor (where the product comes from) and customer (who the product is sold to). What needs to be done to create this database?
Determining the middle frequency : The resulting output from the modulation process is known as the middle frequency (MF) signal. True or false?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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