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

  Create a book class

Create a Book class. In addition to properties of author and isbn, with setters/getters, the Book should override Object's base method "boolean equals(Object)" and have a "boolean validate()" method.

  Use data structures and algorithm to implement search engine

For the URLs in the keyword list, sort them by either the number of times the keyword appearing in the pages or the popularity of the pages.

  Project about the time-series data trend prediction

The coding part of the project and concerns with the implementation of a time-series prediction method that you either take from the literature or you have developed by yourself

  Swing gui program to make the applet

Each button under Yes or No, when clicked, would respond with a corresponding statement printed in the South border to say

  Design of client-server protocols

Design of client-server protocols by reviewing the implementation of one. And you can develop an even greater understanding by extending or updating that implementation.

  Possible effect that multithreading could have

Imagine you are a graphic artist working on an animation for a movie. Describe at least one (1) possible effect that multithreading could have on your work process. Support your response with at least (1) example of the effect of multithreading

  Write a complete java class called diffcubes

Write a complete Java class called DiffCubes that uses a Scanner reads in two int values from the console. Using these values, the program should find the difference between the cubes of the two values and write the result to the screen

  Write program in java that solves system of linear equations

Write a program in java that solves system of linear equations. Users should be able to input the number of variables.

  Working for hypothetical insurance company

Assume that you are working for hypothetical insurance company. This company offers insurance for 4 types of vehicles: cars, trucks, motor cycles and boats. In order to keep the program manageable, we will assume that we do not make a finer distin..

  Provide java code to create and initialize array of integers

Provide a Java code to create and initialize an array of integers (Java primitive int), floats or any other Java primitive type of your choice

  Display an image of an apple on the screen

Display an image of an apple on the screen, then after 3 seconds automatically change the display to an orange.

  Write down a java program that implements a stack of

write a java program which implements a stack of integers. an integer should only be pushed into the stack if it is

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