title: How to set the same value for a range in an array in Java in one line?
body: <p>Say I have an array of 100 elements and I want a certain range of indices to have a certain value. For example indices 0 through 10 will have "Bob," indices 11 - 57 will have "Jake," and indices 58-99 will have "John". Is that possible to do in one line? Thank you</p>