Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Well done Please show us what you have got. Did you find the Java™ Tutorials section about collections? In the "Map" section there is an example of something similar to your problem.Rob McBryde wrote: . . . I just got the HashMap working . . .
Rob McBryde wrote:Thanks for all the advice and help, got plenty research to do with maps. Going to think up a few more challenges in the coming months to help develop my skills. In case anyone is interested I have included my code thus far below. I'm sure it's not the best way to resolve this so I would welcome any constructive criticism to help me learn. Just let me know if anything in my code isn't clear.
It will give me the powers of the gods. Not bad for a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|