Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How do you use the foreach loop for a HashMap?

807606Mar 27 2007 — edited Mar 27 2007
I'm trying to use a foreach loop for a hashmap but I get the error message:

foreach not appliable to expression type
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2007
Added on Mar 27 2007
15 comments
446 views