带回车的输出:
System.out.println("输出内容");
不带回车的输出:
System.out.print("输出内容");
拼接输出:
int a = 5; System.out.println("a的值为" + a);