为什么不在three=one+two;前面添加int
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three = one+two;
System.out.println("three=one+two==>"+three);
为什么不在three=one+two;前面添加int
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three = one+two;
System.out.println("three=one+two==>"+three);
为什么不在three=one+two;前面添加int
2016-08-08
举报