operator cannot be applied to java.lang.string java.lang.string
<p>I keep getting this error, but believe I am trying to compare two strings...Am I missing something?</p>

<pre><code>String classVolume = "SELECT class_id, COUNT(*) FROM ClassSelector.student_x_class GROUP BY class_id";
                if(classVolume &gt;= rs.getString("class_size"){

                }
</code></pre>

<p>I tried to convert them both to Ints, but that didn't help.  Any suggestions would be appreciated!</p>