fork(15) download
  1. import java.util.*;
  2.  
  3. class Main
  4. {
  5. public static void main (String[] args)
  6. {
  7. boolean[] seats = new boolean[10];
  8. Arrays.fill(seats, true);
  9. for (int i = 0; i < seats.length; ++i) {
  10. System.out.println(seats[i]);
  11. }
  12. }
  13. }
Success #stdin #stdout 0.02s 245632KB
stdin
Standard input is empty
stdout
true
true
true
true
true
true
true
true
true
true