Creating a list of objects using the Comparator classes

Cancelled Posted Feb 28, 2005 Paid on delivery
Cancelled Paid on delivery

Creating a list of Car objects ============================================= Program name ============ [login to view URL] (EasyIn is abstract) Description =========== You are provided with a class Car which represents the attributes of a used car. The class provides a constructor but you are to provide a toString() method. You are also provided with skeletons for classes CarList and TestCarList. In CarList, you are to provide definitions for the methods sortByPrice()and sortByEngineSize(). In TestCarList, you are provided with all necessary methods, except for a suitable main(String[] argv) method. Input Format ============ Interactive, prompted. Input Example ============= Enter details of cars when prompted. Enter Car Make Model Trim, on one line, e.g. Citroen C5 GL or press return to end. Citroen C5 GL Enter year of manufacture : 2003 Enter price in whole pounds: 9995 Enter engine size in cc : 1400 Enter number of doors (2-5): 5 Enter mileage : 12345 Enter Car Make Model Trim, on one line, e.g. Output Format ============= See output example below. Pay close attention to the spacing and punctuation in the listings below, when coding your [login to view URL]() and Test- [login to view URL](String[] argv) methods. Marking ======== 100% dynamic correctness with an unseen set of car data. Your source programs will be assessed to verify that you have sorted the data using the sort method provided in Java, and not, for example, reusing code from a Semester I exercise. Notes and hints =============== Use anonymous Comparator classes as arguments to sort rather than defining named classes that extend java.util.Comparator. Output example ============== Citroen C5 GL (2003), 1400cc, 5dr, 12k, 9995. Peugeot 405 GLX (1995), 1900cc, 5dr, 110k, 995. Fiat 500 Abarth (1966), 649cc, 2dr, 56k, 5995.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

WIn XP

Database Administration Engineering Java Microsoft MySQL PHP Software Architecture Software Testing SQL Windows Desktop

Project ID: #3587044

About the project

10 proposals Remote project Active Feb 28, 2005

10 freelancers are bidding on average $13 for this job

bbarar

See private message.

$14.92 USD in 4 days
(321 Reviews)
6.0
borlandervw

See private message.

$17 USD in 4 days
(49 Reviews)
5.9
bogdan123vw

See private message.

$12.75 USD in 4 days
(48 Reviews)
3.8
grayfacedbu

See private message.

$15.3 USD in 4 days
(39 Reviews)
3.5
jteamvw

See private message.

$17 USD in 4 days
(30 Reviews)
4.6
anabuvw

See private message.

$12.75 USD in 4 days
(8 Reviews)
3.0
mutantxvw

See private message.

$6.8 USD in 4 days
(11 Reviews)
1.6
brightlightvw

See private message.

$17 USD in 4 days
(5 Reviews)
1.1
onutza

See private message.

$3.4 USD in 4 days
(1 Review)
0.0
chisovw

See private message.

$17 USD in 4 days
(0 Reviews)
0.0