Sequential Search Issue
<p>What is wrong with this sequential search? <code>m_t3[]</code> is an integer array with some combination of the numbers <code>0</code>, <code>1</code>, and  <code>4</code> filling it. (The size of the array is 9). NetBeans giving me an error message, <code>incomparable types: int[] and int</code>. The examples I've seen for this type of search look like this though.</p>

<pre><code>int key = 0;
boolean cat = false;
for (int i = 0; i &lt; m_t3.length; i++) {
    if (m_t3[i] == key) {
        cat = true;
        break;
    }
}
</code></pre>
