Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java how to print without going into newline

System.out.print("Hello World!");
System.out.print("Bonjour Le Monde!");
// output: "Hello World!Bonjour Le Monde!" (all in one line)
// the lines that are greyed out are comments and act as notes
 
PREVIOUS NEXT
Tagged: #java #print #newline
ADD COMMENT
Topic
Name
5+6 =