Which is an appropriate method signature for a method p that will print a square of dollar signs () with a given output stream, and a given size of the square?
1) private static SimpleWriter p(int size, "")
2) private static void p(out, size)
3) private static int p(SimpleWriter out, int size)
4) private static void p(SimpleWriter out, int size)
5) none of the above