0
What are some real life examples where you have used the, enhanced for loop?
I cant think of scenarios when to use the, enhanced for loop.
2 Respuestas
+ 1
u can use in data structures like linked list for traversing or iterating elements
ex is adding elements before and after in array list
0
when you want to print array elements?