I am really new to
java. I just bought a book that I am going through and there is a puzzle to solve. I have the solution but my output does not match the output the book says it should be. Anyone care to go over this and help explain to me if the book is wrong?
The output should be:
%java EchoTestDrive
helloooo...
helloooo...
helloooo...
helloooo...
10
But I get 11. What am I doing wrong?
EDIT by mw: Added
Code Tags.
[ May 03, 2007: Message edited by: marc weber ]