为什么开头不能加int比如
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
int three = one + tow;
System.out.println("three = one+ tow==>"three);
}
}
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
int three = one + tow;
System.out.println("three = one+ tow==>"three);
}
}
2018-02-25
举报