Java | JSP | JSF Answers

Questions answered by Experts: 3 611

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

provide one example of a business application that employs method overriding and one example that may employ method overloading. Support your examples with a rationale for each example.
suggest a business application that employs inheritance. Predict the classes and subclasses that may be involved and support your prediction.
create an example that demonstrates proper utilization of a callback
Provide an example of a case utilizing polymorphism. Explain how your example benefits from polymorphism.
Your task is to create a JAVA program that will accept as many inputs as the user desires until the user enters “STOP”.

The program should then alphabetize the inputs and display the result. No external sorting classes are allowed.
Java programming this application need to have these factors and I am confused how to code them Help?


A salesperson will continue to earn a fixed salary of $55,000. The current sales target for every salesperson is $165,000.
The sales incentive will only start when 75% of the sales target is met. The current commission is 14% of total sales.
If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.8.
The application should ask the user to enter annual sales, and it should display the total annual compensation.
Your program should use a class method to compute the calculated compensation. The method should take one parameter for the total sales, and the method should access the salary, sales target, sales incentive and acceleration factor from the class variables. The method should be non static, and be used as part of an object.The application should also display a table of potential total annual compensation that the salesperson could have earned, in $5000 increments above the salesperson’s annual sales, until it reaches 50% above the salesperson’s annual sales. The source code must demonstrate the use of conditional and looping structures.The application should have at least one class, in addition to the application’s controlling class.
1. Develop a set of classes for a college to use in various student service and personnel applications.
Classes need to design include the following:
1.1 Person- A person contains a first name, last name, street address, zip code and phone number.
The class also includes a method that sets each data field, using a series of dialog boxes and a
display method that displays the entire Person’s information on a single line at the command line on the screen. (9)
Please write the command to run a Java program called TestProgram with seq.fasta and 3 as the passed in command line arguments
Suppose that you are a financier and purchase 100 shares of stock in Company X in each of January, April and September and sell 100 shares in each of June and November. The prices per share in these months were:
Jan $10
Apr $30
Jun $20
Sep $50
Nov $30
Determine the total amount of your capital gain or loss using (a)FIFO (first in, first out) accounting and (b) LIFO (last in, first out) accounting (that is assuming that you keep your stock certification in (a) a queue or (b) a stack using C language). The 100 shares you still own at the end of the year do not enter the calculation.
Create a delivery class for a delivery service. The class contains fields to hold the following:

1. A deliver number that contains 8 digits. the first four digits represent the year, and the last four digits represent the delivery number. For ex, the 76th delivery in 2011 has a complete delivery number of 20110076.

2. A code representing the delivery area. A local delivery is code 1, and a long distance delivery is a code 2.

3. A weight, in pounds, of the item to be delivered,

4. The fee for the delivery, as follows:

Distance Weight Fee($)
1 Under 5 Pounds 12.00
1 5 - 20 lbs 16.50
1 Over 20 lbs 22.00
2 Under 5 lbs 35.00
2 5 lbs or more 47.95
LATEST TUTORIALS
APPROVED BY CLIENTS