Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to print multiple things in one line java

Integer test = 123;
String str = ":)";
System.out.println("Hello" + " " + "World!" + str + " " + test);

// Output:
// $> Hello World!:) 123
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #multiple #line #java
ADD COMMENT
Topic
Name
3+1 =