Error using && operator
<pre><code>public boolean isRight() {
    if(xposition == ( (oposition-1) &amp;&amp; (oposition != (12 &amp;&amp; 8 &amp;&amp; 4))) {
        return true;
    } else {
       return false;
    }
}
</code></pre>

<p>"xposition" and "oposition" are assigned values during the runtime of a program.</p>

<p>The error is in <code>(12 &amp;&amp; 8 &amp;&amp; 4)</code>  I need to make sure that the value of "oposition" is not equal to 12 and 8 and 4.</p>

<p>I don't know what is wrong here. Please help</p>
