how to print multiple lines in java

Solutions on MaxInterview for how to print multiple lines in java by the best coders in the world

showing results for - "how to print multiple lines in java"
Alan
01 May 2017
1
2System.out.println("Players take turns marking a square."
3+ "\nOnly squares not already marked can be picked."
4+ "\nOnce a player has marked three squares in a row, he or she wins!"
5+ "\nIf all squares are marked and no three squares are the same, a tied game is declared."
6+ "\nHave Fun!");
7