Answers for "how to print " java"

1

print statement in java

System.out.println("Hello!"); //prints then ends line
System.out.print("Hello!!");//prints without line spacing
Posted by: Guest on October-01-2020
1

print string in java

String data = "Some string";
System.out.println(data);
Posted by: Guest on October-21-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language