I do not understand why I am failing this task. I did read in the names of 6 cats in the specified order.
String catGrandFatherName = reader.readLine();
Cat catGrandfather = new Cat(catGrandFatherName);

String catGrandMotherName = reader.readLine();
Cat catGrandmother = new Cat(catGrandMotherName);

String catFatherName = reader.readLine();
Cat catFather = new Cat(catFatherName, catGrandFatherName);

String catMotherName = reader.readLine();
Cat catMother = new Cat(catMotherName, catGrandMotherName);

String CatSonName = reader.readLine();
Cat catSon = new Cat(CatSonName, catFatherName , catMotherName);

String CatDaughterName = reader.readLine();
Cat catDaughter = new Cat(CatDaughterName, catFatherName , catMotherName);
I did program should display 6 lines with information about the cats.
System.out.println(catGrandfather);
        System.out.println(catGrandmother);
        System.out.println(catFather);
        System.out.println(catMother);
        System.out.println(catSon);
        System.out.println(catDaughter);
all the other condition should have been meet. Can someone give me some insight please?