In Java, if one boolean true then all others become false : <p>I was wondering if it was possible in Java to have a series of booleans such as:</p>

<pre><code>    boolean boo1, boo2, boo3, boo4, boo5;
</code></pre>

<p>I want to make it so that if one of these booleans become true than all others become false. I know this can be done with a series of long if statements but is there a simpler way to achieve this.</p>

<p>Thanks!</p>
