I tried putting an array into the array list
ArrayList <DNA> matingppool;
The array is 0 and 1
when I try to show it in logcat in a way
population [letsmat [i]].getBiner ()
the result is
[I @ 25a0766d
but when I display it logcat in a way
Arrays.toString (population[letsmat[i]].getBiner ())
logcat displays
[0, 0, 0, 1]
the question is
which is the best way to enter an array into the pooling arraylist so that arraylist returns the array value again?
matingppool.add (population [letsmat [i]]);
or this one
matingppool.add (Arrays.toString (population [letsmat [i]]. getBiner ()));
Does " [I @ 25a0766d " represent an array?