I was able to get it to work correctly several ways with the correct output. But the only way that it would Verify was one that gave this output: "com.codegym.task.task08.task0819.Solution$Cat@28d93b30 com.codegym.task.task08.task0819.Solution$Cat@1b6d3586 Process finished with exit code 0" So I am happy that I finally got this task done but I am completely confused about how I did it. Unfortunately Because I did get the answer accepted I am not allowed to post my solution.