Sometimes i can be a bit perfectionist, take a look at my code: public static void print3(String s) { System.out.print(s + " " + s); System.out.print(" " + s + " "); } The output => [window window window file file file ] Yes there is a single space at the end, although the answer is correct, i feel the need to remove the unneeded space. My friend, do u have any idea?