Answers for "create a boolean array in java"

0

create a boolean array in java

// How can we initialize a boolean array in Java?
  
	boolean[] booleanArray = new boolean[10];
	boolean booleanArray[] = new boolean[7];

// The default value for a boolean array is false.
Posted by: Guest on August-18-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language