最赞回答 / 慕运维5055354
你这里(one + two)并没有赋给three,所以第6行程序运行完后,three==0;而正确程序应该是System.out.println(three = one + two);这样,这行程序运行完,three==30
2019-05-12