Filling Elements in an Array: boolean type
import java.util.Arrays; public class Main { public static void main(String[] argv) throws Exception { boolean[] booleanArr = new boolean[10]; boolean booleanFillValue = false; Arrays.fill(booleanArr, booleanFillValue); } }