How do i resolve this. I did it this way,it say too many variables and i did it like the first two examples already in the main method: Cat cat2= new Cat(); the Cat cat3; using the same pattern 8 times then went further to create to additional variables,it still didnt work. Who can give me another idea because i do not know what else to do.Thanks for any useful tips.
package com.codegym.task.task02.task0212;
/*
Crazy eights
*/
public class Solution {
public static void main(String[] args) {
Cat cat18;
Cat cat1;
Cat cat3;
Cat cat4;
Cat cat5;
Cat cat6;
Cat cat7;
Cat cat9;
Cat cat10;
Cat cat0;
//write your code here
Cat cat8 = new Cat();
//write your code here
Cat cat11 = new Cat();
Cat cat12 = new Cat();
Cat cat13 = new Cat();
Cat cat14 = new Cat();
Cat cat15 = new Cat();
Cat cat16 = new Cat();
Cat cat17 = new Cat();
}
public static class Cat {
}
}