Class or interface expected error (java)
<p>When i try to compile this: </p>

<pre><code>    public static int compareCardhl (Card c1, Card c2) 
}
if (c1.suit &gt; c2.suit) return 1 ; 
if (c1.suit &lt; c2.suit) return -1 ; 
if (c1.rank &gt; c2.rank) return 1 ; 
if (c1.rank &lt; c2.rank) return -1 ;  
return 0; 
}
</code></pre>

<p>i get a lot of class or intereface expected errors. They all point at the <code>if's</code>. i also get a <code>; expected</code> error at the end of <code>Card c2)</code>. </p>

<p>whats going wrong here? </p>
