for each loop inside a if statement?
<p>ive been getting a illegal start of expression error when trying to complie this for loop inside a if statement in java, any ideas?</p>

<pre><code>if(letter.equals(" ") || letter == null ||for(String a: array){ letter.equals(a);})
</code></pre>
