every time I try to printout my linked list, the output is TheNameOfMyList@something ... any idea why that's happening?
Asked
Active
Viewed 15 times
0
-
http://stackoverflow.com/questions/29140402/how-do-i-print-my-java-object-without-getting-sometype2f92e0f4 – Sotirios Delimanolis Sep 22 '15 at 23:25
-
1Please show the code you use for printing out the value. – Mick Mnemonic Sep 22 '15 at 23:38
-
Thank you @SotiriosDelimanolis, I didn't know that. Problem solved. – Yousef Sep 22 '15 at 23:47
-
Your question provides zero details, but is it because you're calling `toString()` on a Java Collection rather than iterating through its values and printing them individually? – Keith Sep 22 '15 at 23:27