Cat catFather = new Cat(catFather, n, catgrandFather); Пишет что не может привести тип Cat к типу String.