+ 1
Java. Braces in the output! How to remove?
Problem is, that when I running this code, instead of printing the braces. How to print the output without them? Car [make=make1, model=model1, year=2005, price=123456.0, color=green] Car [make=make2, model=model2, year=2002, price=223456.0, color=blue] Car [make=make3, model=model3, year=2008, price=430092.0, color=Red] Here is the code https://code.sololearn.com/c8J2df6s1alu Thank you in advance for the help!
3 Réponses
+ 10
Actually its you who added those square braces. Inspect what the function returns at line 80 and 81 in the code you linked.
+ 1
excellent! thank you so much!