posted 6 years ago
Devaka Cooray wrote:Hi Gari,
Welcome to JavaRanch
That is a for-each loop. It's a kind of for-loop which iterates through a given array or a collection. Have a look at this article.
Also, please don't forget to UseCodeTags when you post a source code on the forum.