1 package output.statement; 2 3 public class OutputAssignmentStatementsInTheOutputStatement { 4 5 public static void main(String[] args) { 6 // TODO Auto-generated method stub 7 int a = 10; 8 int b = 20; 9 10 System.out.println(a = b); //将b的值赋值给a,然后输出a的值。 11 System.out.println(b = a); 12 } 13 14 }