问答详情
源自:4-5 学生选课---添加课程 Ⅱ

在println的参数里面怎么换行的?快捷键是多少?

在println的参数里面怎么换行的?快捷键是多少?

提问者:洗头最爱用飘柔 2016-10-17 19:03

个回答

  • 慕盖茨9781818
    2016-10-17 19:55:14
    已采纳

    \n

    System.out.println("Hello \n World"); World就转到第二行了

  • NuRum
    2017-03-01 19:59:31

    \n

    System.err.println("Hello \n World"); World就转到第二行了