In Java, we can fill the array by simply
String[] strings = new String[10]; java.util.Arrays.fill(strings, "hello"); // Re-fill the array with "