public class HelloWorld{
public static void main(String[] args){
int a=1;
int b=2;
int sum=a+b;
System.out.println("sum的值为:"+sum);
}
}
public static void main(String[] args){
int a=1;
int b=2;
int sum=a+b;
System.out.println("sum的值为:"+sum);
}
}
2015-03-22
注:final char xxx="男";错误,是应为符号,正确是:final char xxx='男';
2015-03-21