System.out.printf(hello); System.out.println(world);
输出helloworld但我想换行输出helloworld我在第一行加\n不行
收起
注意字符串双引号,代码如下,有帮助的话采纳一下哦!
System.out.printf("hello\n"); System.out.println("world");
报告相同问题?