+ 2
what are enhaced for loop
i ran into a quetion while taking shircut now i cant find any info
2 Answers
+ 11
@ValentineHacker he is asking for java so correct method is for(int a : b) {} where b may be integer array
+ 15
for (int a in b) {
//code
}
//called enchanted or forEach loop... Used to iterate through arrays/objects ....