[Bluej-discuss] Chapter 7 zuul bad - HashMap cannot find symbol
ric104
ric104 at ugimap.ecs.soton.ac.uk
Sun Oct 15 20:20:26 BST 2006
Thanks,
I didnt quite understand the book when it said i had to import Set and Iterator, now I see what it meant
Thanks for the advice
Roland Clothier
Second Year Undergraduate - ITO
Southampton University.
On Sun, 15 Oct 2006 10:50:35 -0400, Bruce Barton <bjbarton at optonline.net> wrote:
> Roland,
>
> You will also need to import the Iterator interface:
>
> import java.util.Iterator;
>
> Bruce Barton
> Asst. Professor of Computer Science
> Suffolk County Community College
> Selden, NY 11784
>
> -----Original Message-----
> From: bluej-discuss-bounces at bluej.org
> [mailto:bluej-discuss-bounces at bluej.org] On Behalf Of ric104
> Sent: Sunday, October 15, 2006 10:32 AM
> To: bluej-discuss at bluej.org
> Subject: [Bluej-discuss] Chapter 7 zuul bad - HashMap cannot find symbol
>
>
> Hi
>
> I am on chapter 7 and trying to implement the HashMap as instructed by the
> book, but I am getting a "cannot find symbol" error,
>
> I am making sure HashMap is avaiable by putting
>
> import java.util.HashMap;
>
> at the top of the page
>
> But when it gets to this part it does not work and I get the "cannot find
> symbol" error
>
> (Iterator iter = keys.iterator(); iter.hasNext(); )
>
> I am lost as to what to do and would appreciate some advice
>
> Many Thanks
>
> Roland
> Second Year Undergraduate - ITO
> Southampton University.
>
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
>
>
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
More information about the bluej-discuss
mailing list