Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to print multiple lines in java


System.out.println("Players take turns marking a square."
+ "
Only squares not already marked can be picked."
+ "
Once a player has marked three squares in a row, he or she wins!"
+ "
If all squares are marked and no three squares are the same, a tied game is declared."
+ "
Have Fun!");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #multiple #lines #java
ADD COMMENT
Topic
Name
1+1 =