Answer to Question #29165 in Java | JSP | JSF for julie

Question #29165
Create a delivery class for a delivery service. The class contains fields to hold the following:

1. A deliver number that contains 8 digits. the first four digits represent the year, and the last four digits represent the delivery number. For ex, the 76th delivery in 2011 has a complete delivery number of 20110076.

2. A code representing the delivery area. A local delivery is code 1, and a long distance delivery is a code 2.

3. A weight, in pounds, of the item to be delivered,

4. The fee for the delivery, as follows:

Distance Weight Fee($)
1 Under 5 Pounds 12.00
1 5 - 20 lbs 16.50
1 Over 20 lbs 22.00
2 Under 5 lbs 35.00
2 5 lbs or more 47.95
1
Expert's answer
2013-04-25T05:29:33-0400
Unfortunately,your question requires a lot of work and cannot be done for free. Submit it
with all requirements as an assignment to our control panel and we'll assist
you

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS