Making a java program

Assignment Help Business Economics
Reference no: EM131217954

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: EM131217954

Questions Cloud

Description of the program : Write a multi-line comment at the top of the program. Include on the first line your name, student number and date. Include the unit # and ex# on the second line. And on the third line, include a description of the program. Write single line commen..
What would be some challenges in using business analytics : Why should you have an understanding of statistics in order to utilize and implement business analytics?
Why is the objectives section so important to an advertiser : Why is the objectives section of an advertising plan so important to an advertiser? Name at least three of the objectives described in the text. For each objective, list one important consideration for advertisers.
Create a chart or column design using the tab character : Write a program that uses a loop to display the number of calories burned after 10, 15, 20, 25,and 30 minutes. Running on a particular treadmill you burn 4.2 calories per minute. Create a chart or column design using the TAB character escape seque..
Making a java program : 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..
Calculate the 95% confidence interval for the variable : Explain in APA format how different levels of confidence and sample size affect the width of the confidence interval. Also consider the following, "Confidence intervals are underutilized". Explain the implications for using or not using confid..
Analyze the given passage for audience purpose and tone : Analyze the following passage for audience, purpose, tone, and perspective to show the theme. Thus absolutely lost in thought, and dying with the very thoughts of drowning.
Create a vision and mission statement : Jimi Henrich owns a custom acoustic guitar manufacturing company: Jimi's Jammers. He designs custom guitars to the specific requirements of the individual customer.
Develop a game that uses switch : Connect the circuit up as shown - Develop a game that uses Switch L & R as external input interrupts.

Reviews

Write a Review

Business Economics Questions & Answers

  The ratio of capital accounts to total assists

"The ratio of capital accounts to total assists is only one of many factors that indicate the financial condition of a commercial bank." Evaluate this statement

  Constant price elasticity of demand

Suppose a firm faces the demand curve which gives a constant price elasticity of demand of -2. (recall the Lerner index) 1. If the firm's marginal cost is constant at $2, what is the profic-maximizing price and quantity? 2. If the firm's marginal cos..

  Diminishing marginal returns to labor

If the margin is greater than the average, what can we say about average and margin? Diminishing marginal returns to labor. What is the general relationship between AVC, ATC, and MC?

  Present alternative definitions of sustainability

Present alternative definitions of sustainability. Give examples for each definition. Discuss the relationship between dynamic efficiency and sustainability. Analyze diagrammatically the effect of price ceilings on the market for natural gas utilizin..

  Suppose the publics holding of currency increases

What is the level of the M1 stock of money? Suppose the public’s holding of currency increases to $100 while, at the same time, the level of deposits remain constant at $200. What is the value of the new money multiplier (m’)?

  What category can increase to try to stabilize the economy

Using the Expenditure approach, GDP can be divided into 4 categories, Consumption, Investment, Government, and Net Exports. In the United States, Consumption makes up about 70% of the total. When the economy of the country goes into recession, the Co..

  Write down the total cost functions for the two methods

A third brother, Rex Carr, owns a junk yard. Rex can use one of two methods to destroy cars. The first involves purchasing a hydraulic car smasher that costs $200 a year to own and then spending $1 for every car smashed into oblivion; Write down the ..

  Intra industry trade and inter industry trade

An increase in the number of varieties of a good regarded as a gain from trade. Can you think of economic disadvantages associated with greater product variety.

  Compute the expected percent change in the stock

The current spot price of a stock is $50, the expected rate of return of the stock is 7%, and the volatility of the stock is 20%. The risk- free rate is 5%. Find an 80%-confidence interval for the stock price in 3 months. Also compute the expected pe..

  Assuming that the prevailing annual interest rate

On Jan. 1, 2000, you purchased a bond that will pay $1,000 on Dec. 31 of each year from 2000 until 2019. It is now Jan. 1, 2015, and you decide that you would like to sell the bond. Assuming that the prevailing annual interest rate on that day for fi..

  Illustrate what are the interest rates

Consider a monopolist informal moneylender and competitive formal creditors who lend to farmers. illustrate what are the interest rates.

  The goldilocks scenario can best be described

The Goldilocks scenario can best be described by:

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