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

  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