# Answer to Question #59471 in Java | JSP | JSF for Nithya

Question #59471

You must also override toString() method and return a user-friendly receipt of all the items in the basket in this cashier. Once you run the TestSystem.java file that is already supplied, you must see something similar to the following:

Number of items is: 4

Total cost is: 157.69

Total tax is: 3.94

Eat Healthy Fruit Shop

---------------------

12 @ 45.00 /dz

Gala Apples 45.00

2.30 kg @ 4.30 /kg

African bananas 9.89

23 @ 3.20 /pc

Qatari Lemons 73.60

1 @ 19.20 /cp

+ 10.00 Labor

Lemon mix juice 29.20

Tax: 3.94

Total cost: 161.63

Eat Healthy Fruit Shop

---------------------

23.00 kg @ 33.20 /kg

Thailand Bananas 763.60

4 @ 19.20 /cp

+ 10.00 Labor

Juice Mix 86.80

Tax: 21.26

Total cost: 871.66

Number of items is: 4

Total cost is: 157.69

Total tax is: 3.94

Eat Healthy Fruit Shop

---------------------

12 @ 45.00 /dz

Gala Apples 45.00

2.30 kg @ 4.30 /kg

African bananas 9.89

23 @ 3.20 /pc

Qatari Lemons 73.60

1 @ 19.20 /cp

+ 10.00 Labor

Lemon mix juice 29.20

Tax: 3.94

Total cost: 161.63

Eat Healthy Fruit Shop

---------------------

23.00 kg @ 33.20 /kg

Thailand Bananas 763.60

4 @ 19.20 /cp

+ 10.00 Labor

Juice Mix 86.80

Tax: 21.26

Total cost: 871.66

Expert's answer

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment