2 Discussions Questions and Java application for Jaque

 

I need a java assignment and 2 discussion questions done. All work must be 100% original and will be checked against plagiarism checker for originality before final payment is made. Discussion questions must be in APA format and have at least 1 references. Java file must work properly and must be zipped and must be based of the previous week 3 assignment.

 

 

Java Assignment:

 

Modify the Week Three Javaâ„¢ application using Javaâ„¢ NetBeansâ„¢ IDE to meet these additional and changed business requirements:

 

  • The application will now compare the total annual compensation of at least two salespersons.
  • It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners.
  • The application should ask for the name of each salesperson being compared.

 

The Javaâ„¢ application should also meet these technical requirements:

 

  • The application should have at least one class, in addition to the application’s controlling class.
  • The source code must demonstrate the use of Array or ArrayList.
  • There should be proper documentation in the source code.

 

Submit a ZIP file containing the “.java” file

 

Discussion Questions

 

DQ1:  Write a 200- to 300-word short-answer response to the following:

 

  • What is the difference between arrays and ArrayList? What are the advantages and disadvantages of an ArrayList, and when should you use an ArrayList over a simple array?

 

DQ2: Write a 200- to 300-word short-answer response to the following:

 

  • What is the difference between string and StringBuilder? What are the advantages and disadvantages of a StringBuilder, and when should you use a StringBuilder over a simple String?