I am want to print this arraylist with out the null.
i
this is what I get:
The array is:
arr[0] = Papa Bill
arr[1] = Ali Baba
arr[2] = Ming the Merciless
arr[3] = Grandpa
arr[4] = Tornado
arr[5] = null
I also tried doing this with a toString().
in this I get NullPointerException..
[Edit: added code tags - MB]