I have a char [], and I want to set the value of every index to the same char value. There is the obvious way to do it (iteration):
char []
char
<
Try Arrays.fill(c, f) : Arrays javadoc
Arrays.fill(c, f)