Dibatalkan

create a java application

Create a Shipment class.

Class must have private variables and public methods.

Create both a no parameter constructor and an all parameter constructor.

Create get and set methods for all variables.

Create a toString method.

Create a shipRate method . Do not store rate as an instance variable. It is passed nothing and returns a double which is calculated each time the method is called.

Create methods in Shipment to check for max weight, max volume, and max rate and return a Boolean true if they are exceeded.

Create a compareTo method based on shipmentId so Shipments can be sorted in an array or ArrayList. You will need to implement Comparable on the class header.

In all methods other than sets and gets, use your get and set methods to access shipmentWeight and shipmentCube.

Implement ShipmentConstantsInterface on the Shipment object class header.

Part B: ShipmentObjectProcessor

Description: Shipment rate calculator file loop.

Steps:

Create a file named [url removed, login to view] with Notepad with one shipment per line and fields separated by commas.

Read multiple shipments from a file until shipmentId of "END" is found:

String shipmentID

double shipmentWeight

double shipmentCube

Process all Shipments by storing the data elements in an instance of Shipment as the data is read from a file.

Process all Shipments using the methods in the Shipment object such as the set methods, to calculate rate, and check for exceeding maximums. Do display errors as they are read and do not store those shipments

Do not display each individual shipment as they are being read.

Create an ArrayList<Shipment> and store all shipment objects in it.

At end of the loop, sort the ArrayList and print each Shipment using an enhanced for loop and the toString method.

Calculate and store the count of shipments processed and the total calculated rate.

Keahlian App Designer, App Developer, Java, Perl, Python

Lihat lebih lanjut: create mysql database desktop application java, create subdomain application java, create application java student record, create mobile phone application java, java create portable application mobile usb, java create employer portal web application, create orkut application java, create mobile banking application java, create chat application java code, create chat application java, create bulk sms application java, create phone application java, create login application java, create dialer application java, java create ftp application

Tentang Pemberi kerja:
( 0 ulasan ) United States

ID Proyek: #11953289

9 freelancer menawar pada rata-rata $109 untuk pekerjaan ini

AwaisChaudhry

Hi there! I have read what you exactly need, however I would like to ask you a few questions. I wouldn't call myself a master but I do work smart and do not rest until I get the job done. Please feel free to ping me an Lagi

$155 USD dalam 3 hari
(28 Ulasan)
6.1
dghq123

Hi there.. I have read your project details completely and willing to do it for you... Check my recent reviews for our quality work on on time delivery :) Please inbox and we can discuss about project and I will re Lagi

$150 USD dalam 3 hari
(15 Ulasan)
4.8
$35 USD dalam 1 hari
(20 Ulasan)
4.1
VnNorthStar

Hi I'm ready for this project. I'm expert in C, C++, Java & .NET development, also algorithms, Web, Mobile, Desktop applications. Please give me more detail. I will do it perfectly. Best Regards VnNorthStar

$50 USD dalam 3 hari
(17 Ulasan)
3.5
akkastech

Hey there! Welcome to Akkas Technologies! Hope you are doing well. This is Awais, I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations. Why do I say that? I Lagi

$200 USD dalam 3 hari
(1 Ulasan)
2.6
$50 USD dalam 3 hari
(1 Ulasan)
1.0
supersoft2

we reviewed your job description and can complete confidently your project same as you mention in your [url removed, login to view] are got more than 5 years of experienced in web.\app dveloping . short Project Description:- c Lagi

$211 USD dalam 3 hari
(0 Ulasan)
0.0
kelashkhatri

Hello, I am interested in providing you the solution of your Java project, consisting the concept of Multiple class with method overloading and accessor methods for accessing the data of class.

$155 USD dalam 3 hari
(0 Ulasan)
0.0
$30 USD dalam 3 hari
(0 Ulasan)
0.0
$155 USD dalam 3 hari
(0 Ulasan)
0.0