Question: Use a void as in public static void boxString(String contents) with the method header Example: Print a String in a Box 0 Hello 0 n-
Use a void as in "public static void boxString(String contents)" with the method header Example: Print a String in a Box 0 Hello 0 n- ne iength of the string Print a line that contains the-character n2 times Print &line containing the contents, surrounded with a! to the left and right. Print another line containing the character n2 times
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
