Java Booleans and if statments not working
<p>Ok, First off, I am new to java. If I am missing something obvious, sorry. But every time I try to use a variable in a different class, (for example <code>Class.Variable</code>) it errors if the variable is not <code>static</code> and <code>final</code>, Is that supposed to happen? and also, if statments only let me use variables that are booleans, or it errors. </p>

<p>example: </p>

<pre><code>if(variable == 10) { }
</code></pre>

<p>Pleas help, I am so lost.</p>
