Answers for "print same line in java"

1

print same line in java

System.out.print("hello");
  //output
  --------------------------
  hello
  --------------------------
System.out.println("hello");
  //output
  --------------------------
  hello
  
  --------------------------
Posted by: Guest on April-22-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language