[Bluej-discuss] Chapter 7 zuul bad - HashMap cannot find symbol
Bruce Barton
bjbarton at optonline.net
Sun Oct 15 15:50:35 BST 2006
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
More information about the bluej-discuss
mailing list