Discuss the questions related to java programming

Assignment Help JAVA Programming
Reference no: EM131289574

1-1- (Employee Class) Create a class called Employee that includes three instance variables-a first name (type String), a last name (type String) and a monthly salary (double). Provide a constructor that initializes the three instance variables. Provide a set and a get method for each instance variable. If the monthly salary is not positive,

do not set its value. Write a test app named EmployeeTest that demonstrates class Employee's capabilities. Create two Employee objects and display each object's yearly salary. Then give each Employee a 10% raise and display each Employee's yearly salary again.

2- (Sales Commission Calculator) A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, salesperson who sells $5,000 worth of merchandise in a week receives $200 plus 9% of $5000, or total of $650. You've been supplied with a list of the items sold by each salesperson.

The values of these items are as follows:
Item Value

1 239.99

2 129.75

3 99.95

4 350.89

Develop a Java application that inputs one salesperson's items sold for last week and calculates and displays that salesperson's earnings. There's no limit to the number of items that can be sold.

Reference no: EM131289574

Questions Cloud

How much power does the pump add to the fluid : If the inlet and exit temperature are equal, how much power does the pump add to the fluid?
Example of a positive motivation policy-action : At one small company, each month an employee is given a parking spot next to the president's space near the front door to recognize the employee's contribution. Although this is just one example of a positive motivation policy/action, there are ma..
Record the declaration and payment of the cash dividend : Greenwood corporation has 80,000 shares of common stock outstanding . it declares at $1 per share cash dividend on november 1 to stockholders of record on december 1. the dividend is paid on december 31 . prepare the entries on appropriate dates to r..
Calculate the sustainable growth rate of east coast yachts : Calculate the sustainable growth rate of East Coast Yachts. Calculate external funds needed and prepare pro forma income statements and balance sheets assuming growth at precisely this rate. Recalculate the ratios in the previous question.
Discuss the questions related to java programming : Discuss the Questions related to JAVA programming:Create a class called Employee that includes three instance variables-a first name (type String), a last name (type String) and a monthly salary (double). Provide a constructor that initializes the ..
How are sales dealt with in your country : What procedure do businesses in your country usually follow for selecting the right candidate for sales roles? Candidate selection techniques can vary; is there a common approach?
Develop an expression for the fluid velocity : Develop an expression for the fluid velocity, v(r), where r is the distance from the center of the shaft.
Trends current problems air trans : What do you think is the most important challenge to the industry? Is it a new challenge or one that has plagued the industry for decades? Support your response.
How did the marketer distribute the sales promotion : How did the marketer distribute the sales promotion? What was the purpose of the sales promotion, and was it effective?

Reviews

Write a Review

JAVA Programming Questions & Answers

  The sixth amendment allows the due process right to council

The Sixth Amendment allows the due process right to council. Several Supreme Court cases have clarified this right for those who cannot afford their own attorneys. Discuss the right to an attorney for indigent defendants. What are the three main syst..

  Write a method shift that takes a stack of integers

Write a method shift that takes a stack of integers and an integer n as parameters and that shifts n values from the bottom of the stack to the top of the stack.

  Visual display of internet data and information matters

Explain why the visual display of internet data and information matters? what makes the display effective? describe what you like about the design of websites and web resources. Find at least two examples of web content on the internet that you li..

  Bubble sort on the same machine

final-au13.dvifinal-au13.dvi A) If it takes me 3 seconds to sort 1000 data points using a bubble sort (which is an O(n2) algorithm), roughly how long should it take me to sort 3000 data points using the same bubble sort on the same machine?

  Write a java program to perform matrix multiplication

Write a java program to perform matrix multiplication - Your code will need to be able to read in these files, place the contents of each file into separate two-dimensional arrays and then perform the needed multiplication and place the output of t..

  Write java program which will permit user to input data

Write the Java Program which will permit the user to input data. The data will be validated using a loop that requires the user to input the data until it is correct or in the correct range. T

  Create an array to hold four account objects

Write Mybank class in Mybank.java. Create an array to hold four Account objects. For each account, randomly set the balance in the range of $0-$1000.00; print out the balance of each account

  Create your own green color for the leaves

Create your own green color for the leaves and display a solid green ellipse filled with your green color whose center is at the beginning of the drag and put a brown rectangle below it as the trunk of the tree.

  Write a program in java for searching of an item

Write a program in java for searching of an item in a list of n numbers using linear search.

  Develop a application that allows to manage the grades

The objective of this work is to develop a application that allows to manage the grades of several subjects in each course (Course -> subject -> grade).

  Sequence of method in vector class

Construct a Vector class implementing a number of vector operations as methods along with a testing program to verify the class is working.

  Development of database systems

Prior to the development of database systems, file I/O was how information was stored and retrieved. Give your opinion on what you believe we have gained by using databases. Explain whether or not you believe files had any advantages.

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