I am stuck on a problem I've been working on for a java class that I'm taking. I already have most of the code but it won't compile, probably something simple I'm overlooking. Need someone to take a look at what I've got so far and make it work. I'd like the complete source code well documented since I'm very new to this and need explanation as to what is going on. Here is the problem:
Create a class for services offered by a hair styling salon. Data fields include a String to hold the service description(for ex. Cut, Shampoo, Manicure, Style, Permanent, & Trim), a double to hold the price, and an integer to hold the average minutes it takes to perform the service. The class name is HairSalon. Include a constructor that requires arguments for all three data fields and three get methods that each return one of the data field's values. Now, write a program named Sort salon that contains an array to hold six HairSalon objects and fill it with data. Include a method to sort the array in ascending order by price of service. Call the method and display the results. Add a second method to the SortSalon program that sorts the HairSalon objects in descending order by the time it takes to perform the service. Call the method and display the results. Add a third method to the SortSalon program that sorts the HairSalon objects in alphabetical order by service description. Call the method and display the results. Finally, add a prompt to the SortSalon program giving the user three choices: sort by description, price, or time. Depending on the user's input, call one of the three sort methods and display the results. Cut-$8-15 mins, Shampoo-$4-10 mins, Manicure-$18-30 mins, Style-$48-55 mins, Permanent-$18-35 mins, Trim-$6-5 mins.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
## Platform
Needs to run on JGrasp j2sdk1.4.0
The PC I'm running it on is a Sony VAIO with Windows XP.