0

Removing square brackets from ArrayList

How can I remove square brackets when printing an ArrayList or how can I edit the formatting of the elements printing in ArrayLIst? I dont want this output : [Red,Blue,Green]

5th Dec 2017, 7:48 AM
Usama Zafar
Usama Zafar - avatar
2 Respuestas
5th Dec 2017, 8:03 AM
Usama Zafar
Usama Zafar - avatar
0
Where do I have to write that toString method? in my own class?
5th Dec 2017, 8:06 AM
Usama Zafar
Usama Zafar - avatar