Foreach in Java
I used foreach keyword in C#. I used it to travel element one by one in a list. In Java, there is not such keyword calls foreach. But you can use for to do that:
E.g.
Code
for(Tag tag : tags){ | |
tag.getName(); | |
} |
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
Feedback awaiting moderation
This post has 93 feedbacks awaiting moderation...
Form is loading...