Answers for "print and println in java"

2

how to print something in java

System.out.print("one");
System.out.print("two");
System.out.println("three");

// RESULT = 'onetwothree'
Posted by: Guest on June-15-2020
1

print in java

System.out.println("LUL");
Posted by: Guest on August-17-2021
2

print in java

System.out.println(String someString); /** Can take in other types as well such as integers (ints) */
Posted by: Guest on January-08-2020
-1

difference between print and println in java

println automatically adds a new line when it prints but print does not.
Posted by: Guest on April-29-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language