📜  如何在java代码示例中打印多行

📅  最后修改于: 2022-03-11 14:52:36.114000             🧑  作者: Mango

代码示例2
System.out.println("Players take turns marking a square."
+ "\nOnly squares not already marked can be picked."
+ "\nOnce a player has marked three squares in a row, he or she wins!"
+ "\nIf all squares are marked and no three squares are the same, a tied game is declared."
+ "\nHave Fun!");