This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Are there several people all in the same class who are struggling with this question? All those threads appear to be about the same question as you are asking here. They will also probably answer your question.
Joined: Oct 13, 2005
I have added code tags to your post, and you can see how much better it looks Please always use those tags.