|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I think it is the linear search function that causes the printing problem. |
if(group1[i]==group2[a]) {
I think toString works fine and it is the output that causes the problem or the data itself.
if(group1[i]==group2[a])
.counter++
in the linear search funtion.