Is there any easy tricks to printing an ArrayList in a different format? Or do I have to make a for loop to iterate through the List?
Output:
[
Motherboard, Manufacturer = asus, Price = 50.0, Order Number = 1,
Motherboard, Manufacturer = hp, Price = 50.0, Order Number = 1,
Motherboard, Manufacturer = sony, Price = 50.0, Order Number = 1,
RAM, Manufacturer = Rammy, Price = 50.0, Order Number = 1,
RAM, Manufacturer = atari, Price = 50.0, Order Number = 1]
I would like to remove the square brackets and also the commas and line everything up in columns. Any easy way to do that? I probably have to make a for loop right?