i'm learning Java at the moment and am learning how to parse HTML.
i understand how for loops work
For example:
for(int i = 0; i < 20; i++){
}
means that i is 0, if i is less than 20 then increase by 1.
But what does this mean????
for(Element newsHeadline: newsHeadlines){
System.out.println(newsHeadline.attr("href"));
}
i have tried googleing this but can't find answer
Thanks