### Question:
Strings { public static String repeat(char value, int n) { return new String(new char[n]).replace("\0", String.valueOf(value)); }  static String zeros(int n); static String repeat(char value, int n); static boolean isEmpty(String s);  }### Answer:
@Test public void testRepeat() { Assertions.assertEquals(repeat('0', 0), ""); Assertions.assertEquals(repeat('1', 3), "111"); }