Java tutorial
import java.util.Arrays; public class Main { public static void main(String[] argv) throws Exception { float[] floatArr = new float[10]; float floatFillValue = -1; Arrays.fill(floatArr, floatFillValue); } }