I have this piece of code below. How do I initialize each element = false?
boolean[] seats = new boolean[10]
I saw a similar question. But, the second line didnt make sense to me (Can you explain the 2nd line?).
Boolean[] array = new Boolean[size];
Arrays.fill(array, Boolean.FALSE);