Weird JAVA Boolean Evaluation Issue
<p>Hi I have the following code:</p>

<pre><code>  boolean result = someexpression();

            if(!result)
            {
            System.out.println("False..."); 
            }
            if (result); 
            {
                System.out.println("True");
            }
</code></pre>

<p>It prints both (False and true)
I also tried using things like</p>

<pre><code>     if(result==true)
</code></pre>

<p>but that doesnt seem to do the trick. No matter what the value of the variable it just enters the condition.?? I am using eclipse and this only happens at a specific portion.</p>
