1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
645 views
by rich-c-2789 (17.6k points)
I want to loop through the items in a collection but it doesn't ever get into the loop.  Any hints?

1 Answer

0 votes
 
Best answer
Sure, here is a hint.  Make sure you are using the proper method to determine the size or length of the collection type being iterated (JavaScript array, Java arrays, or java.util collection classes etc.).  For example: size(), length(), length apply to different types.
by rich-c-2789 (17.6k points)
selected by ron-s-6919
by rich-c-2789 (17.6k points)
Please add example code that shows how size(), length(), and length are related to types being iterated.
...