📜  在 java 代码示例中打印同一行

📅  最后修改于: 2022-03-11 14:52:08.663000             🧑  作者: Mango

代码示例1
System.out.print("hello");
  //output
  --------------------------
  hello
  --------------------------
System.out.println("hello");
  //output
  --------------------------
  hello
  
  --------------------------