\n是,移到下壹行。
我壹句壹句的給妳分析。
1代表光標位置。
system . out . print(" a ");
輸出:
a1
system . out . print(" \ n ");
輸出:
a
1
system . out . print(" b ");
a
b1
system . out . print(" \ r ");
a
1b
註意這裏回車把光標移到了B前面,所以下次輸出C的時候會替換B。
system . out . print(" c ");
a
c1
以下是相同的
自己分析壹下。