| Author |
PrintArrayListFromMainClass
|
nermin vucinic
Greenhorn
Joined: Aug 23, 2011
Posts: 9
|
|
I have this code:
I want to print this ArrayList from main class, and I used this:
but it returns list of objects represented as hash code.
How can I print this arraylist in some readable form?
|
 |
Matthew Brown
Bartender
Joined: Apr 06, 2010
Posts: 3792
|
|
|
You need to iterate across the ArrayList, printing out the details you want from each entry.
|
 |
 |
|
|
subject: PrintArrayListFromMainClass
|
|
|