What is difference between for and for each loop.

What is difference between for and for each loop.Please explain with a example.

Your Answer

For loop is best for iterating over name value pairs and for each loop is best for iterating over values

Html

Didn't get the answer.
Contact people of Talent-Html directly by clicking here