0

Can foreach only be used for array?

12th Aug 2016, 4:19 AM
aishwarya
3 Respostas
+ 1
@Fabrizio Tarizzo You can use it for records as well
20th Sep 2016, 10:54 AM
kayode emmanuel
kayode emmanuel - avatar
+ 1
No, it can be used for other tasks also
4th Feb 2017, 4:11 PM
Sunnykant Tiwari
Sunnykant Tiwari - avatar
0
No, it can also be used for collections
14th Sep 2016, 10:33 AM
Fabrizio Tarizzo