为何three=one+two前面不用加int
亲,如果前面有对变量申明的话;
int three = 3;
int one = 1;
int two = 2;
之后的变量就可以不用再申明了,后面的变量就能直接使用
three =one + two;
前面不是已经申明过了吗