为什么这样不可以,但是分开步骤就可以???
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
System.out.println("three=one+two==>"+(one+two));
System.out.println("three+=one==>"+(three+=one));
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
System.out.println("three=one+two==>"+(one+two));
System.out.println("three+=one==>"+(three+=one));
2019-09-02
举报