public static void print(String s) { System.out.println(s) ; System.out.println(s) ; System.out.println(s) ; System.out.println(s) ; } так получилось