Game of life puzzle

Hello,

I was thinking that my 2 first test were successful in the game of life puzzle (medium), and strangely they arent
The output is the following for the first test:

image

I am using 2-dimensions arrays of objects.

Thank you for any help.

Maybe i will solve it by myself: on each line i have 3 String of length 1 , but i need 1 String of length 3…I should be able to fix it!

Now i have 1 String of length 3 ( three times) , and it always says “nothing” as the result.I don’t understand why.

I understand, i had left a println() somewhere else in the code!