title: Faster way to specify character array filling?
body: <pre><code>import java.util.Arrays;
  
  
  public class ArraySpecification {
      public static void main(String args[]) {
          char[] correctLetters = {'a','b','c','d','e'};
          Arrays.fill(correctLetters, 0, 1, 'z');
          Arrays.fill(correctLetters, 2, 3, 'z');
          Arrays.fill(correctLetters, 4, 5, 'z');
          System.out.println(correctLetters);
      }
  }
  </code></pre>
  
  <p>I just wanted to ask if there is any way this can be done faster and more efficient? </p>