boolean[] cannot be resolved to a variable
<p>In the class <code>SitoEratostenesaTest</code>, I have:</p>

<pre><code>SitoEratostenesa myObj = new SitoEratostenesa(liczby[x]);

for(i=1; i&lt;ilosc; i++)
{
    if(tab[i])
    {
        System.out.println((i+1)+" jest liczba pierwsza");
    }
    else
    {
        System.out.println((i+1)+" jest liczba zlozona");
    }
}
</code></pre>

<p><code>boolean tab[]</code> was created in class <code>SitoEratostenesa</code>. How can I use this table in my condition?</p>
