写出如下程序的输出结果 public class Tom{ private float weight; private static Stringname; public void setWeight(floatweight){ this.weight=weight; } private void out(){ System.out.println(name+"体重:"+weight+"斤"); } public static void main(String[]args){ Tom.name="汤姆猫"; Tomcat=newTom(); cat.setWeight(20);cat.out(); } }