Java inicializa la matriz dinámica de booleano
// Load List of Boooleans, from console, using streams:
List<Boolean> booleans = Arrays
.stream(scanner.nextLine().split("\\s+"))
.map(Boolean::parseBoolean)
.collect(Collectors.toList());
// Load ArrayList of Boooleans, from console, using streams:
ArrayList booleans = new ArrayList<>();
while (scanner.hasNextBoolean()) {
booleans.add(scanner.nextBoolean());
}