Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Data Structures Efficiency! Menu UI

Carl Johnson
Carl Johnson
1,232 Points

Unable to Import Hashmap

I am importing hashmap, but I am getting this error:

cant find Symbol
Symbol: class Hashmap
Location: class KaraokeMashine

Why would I be getting this?

Binyamin Friedman
Binyamin Friedman
14,615 Points

Did you use a correct import? Can you show the code of the error?

Carl Johnson
Carl Johnson
1,232 Points

i hope i imported right, here is a snapshot: https://w.trhou.se/tmtf5sen0u

1 Answer

Carl Johnson
Carl Johnson
1,232 Points

sorry, can Close this one, got all Errors fixed.