public class Main { public static void main(String[] args) { String bigV = "v v\n" + " v v\n" + " v"; System.out.println(bigV); } } //如果支持java13及以上的话,下面代码输出多行字符更加方便public class Main { public static void main(String[] args) { String bigV = """ v v v v v"""; System.out.println(bigV); } }