BeerAdviser application : <p>I am reading a book on android development and it has a following example</p>

<pre><code>    for  
            (String brand:brandlist)  
    {  
        brandsFormatted.append(brand).append('\n');  

    }
</code></pre>

<p>This is the .java code for the application. 
Can anyone please explain me what happens in the for loop?
I did not understand
I am a beginner and I tried searching on the internet but did not understand this particular part. 
Can anyone help me please?
Thank you</p>
