Answers for "how to print out on the same line as input in java"

2

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 "how to print out on the same line as input in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language