public class Cat { private static int catCount = 0; public static void setCatCount(int catCount) { catCount = 0; Cat.catCount=catCount; } public static void main(String[] args) { System.out.println(Cat.catCount); } }