You're welcome - I'm glad you've got it sorted out.
Type: Posts; User: pbrockway2
You're welcome - I'm glad you've got it sorted out.
Yes, what you get is the string concatenation of all the items. + does two things in Java: it performs string concatenation and it performs arithmetic addition. Basically you should do the...
What does "did not work" mean? Specifically I guess we are talking out the lines:
//14
System.out.println("\n" + car1.CalcSellingprice() + car2.CalcSellingprice() + car3.CalcSellingprice() +...