Multiple choice

How do you declare an array of booleans?

  1. boolean[] running;

  2. boolean running[];

  3. boolean[10] running;

  4. boolean running[10];

Reveal answer Fill a bubble to check yourself
A Correct answer