Creating a list of objects using the Comparator classes

Dibatalkan Dipasang Feb 28, 2005 Dibayar saat pengiriman
Dibatalkan Dibayar saat pengiriman

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

Administrasi Basis Data Teknik Java Microsoft MySQL PHP Perancangan Perangkat Lunak Pengujian Perangkat Lunak SQL Destop Windows

ID Proyek: #3587044

Tentang proyek

10 proposal Proyek online Aktif Feb 28, 2005

10 freelancer rata-rata menawar $13 untuk pekerjaan ini

bbarar

See private message.

$14.92 USD dalam 4 hari
(321 Ulasan)
6.0
borlandervw

See private message.

$17 USD dalam 4 hari
(49 Ulasan)
5.9
bogdan123vw

See private message.

$12.75 USD dalam 4 hari
(48 Ulasan)
3.8
grayfacedbu

See private message.

$15.3 USD dalam 4 hari
(39 Ulasan)
3.5
jteamvw

See private message.

$17 USD dalam 4 hari
(30 Ulasan)
4.6
anabuvw

See private message.

$12.75 USD dalam 4 hari
(8 Ulasan)
3.0
mutantxvw

See private message.

$6.8 USD dalam 4 hari
(11 Ulasan)
1.6
brightlightvw

See private message.

$17 USD dalam 4 hari
(5 Ulasan)
1.1
onutza

See private message.

$3.4 USD dalam 4 hari
(1 Ulasan)
0.0
chisovw

See private message.

$17 USD dalam 4 hari
(0 Ulasan)
0.0