关于输出的小语法点

div36842 / 2024-10-05 / 原文

  • println  输出后会换行
  • print   输出完不会换行
  • 换行
     System.out.println();
     System.out.println("\n");