![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
(1-3)请根据提示补全程序空白处,使程序能够正确运行。 class Any { void show() { } } class Animal { private String name ; private double weight ; public Animal(String name , double weight ) { this . name = name ; this . weight = weight ; } } //Cat 是 Animal 的子类 class Cat 1 Animal { private String color ; public Cat(String name , double weight , String color ) { 2 ; // 调用父类构造方法 this . color = color ; } public 3 void display(T t , int count ) { // 泛型方法 if ( t 4 Any) { Any any = (Any) t ; any .show(); } System. out .println( count ); } }