[Bluej-discuss] Ex 4.50
John Simonds
simonj2 at sage.edu
Wed Oct 4 14:07:30 BST 2006
I have a puzzle with Exercise 4.50 of chapter 4. notebook 2 - which is to take a current while statement and change it to a for loop. This is the code I used:
public void listNotes()
{
for(int index; index < notes.size; (index ++) }
System.out.println(notes.get(index));
{
and I get a coding error saying not a statement.
What am I doing wrong?
John Simonds
Systems Technologist
simonj2 at sage.edu
(518)244-3111
(518)292-1734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20061004/0a6962f7/attachment.html
More information about the bluej-discuss
mailing list