Forums Register Login

Maps in java refuse to iterate

+Pie Number of slices to send: Send
please can anyone tell me what is wrong in my code; it refuse to run.:





and this is the main:





and it return this exception:




thanks.
1
+Pie Number of slices to send: Send
Looks like you meant to write
+Pie Number of slices to send: Send
Duplicate post. Please go to
https://coderanch.com/t/672176/java/Maps-java
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


Reply locked
This thread has been viewed 346 times.
Similar Threads
How can I add elements in Hashmap?
how come generis type information at runtime/reflection ?
Generics collections and reflection
Linked list, java generics and "method in undefined for type" sort-of-problems
How can I Iterate a map
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:06:21.