什么意思?没看明白.
c肯定是int.

解决方案 »

  1.   

    错了,c应该得定义为short,
    public  class  aa{  
               public  static  void  main(String[]  args){  
                           short  a=(short)1;  
                           short  b=(short)2;  
                           short  c;
                           //a=1;  
                           //b=2;  
                           c=a+b;  
                           System.out.println(c);  
               }  
    }  
    short  a=2;//A是什么值?int  or  short,下面程序出错。