please explain me the question as i am not able to get it
package com.codegym.task.task06.task0614;
import java.util.ArrayList;
/*
Static cats
*/
public class Cat {
//write your code here
public static ArrayList<Cat> cats = new ArrayList<Cat>();
public Cat() {
cats.add(this);
}
public static void main(String[] args) {
//write your code here
for(int i =0;i<10;i++)
{
new Cat();
}
printCats();
}
public static void printCats() {
//write your code here
for(int i =0;i<10;i++)
{
cats.get(i);
}
}
}