这个代码可以过,但他运转结果是什么?
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = one+two ;
int three += one;
int three -=one;
int three *=one;
int three %=one;
System.out.println("one"):
}
}
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = one+two ;
int three += one;
int three -=one;
int three *=one;
int three %=one;
System.out.println("one"):
}
}
2015-07-19
举报