Oliver Legat is right in what he posted; You may not need to initialise the boolean variable because the next line will readI think it is reasonable for him to drop that sort of hint. The only thing I would disagree with is the bit about static. It will probably be the object which is "full," not the class, so the method almost certainly ought not to be static.
Joined: Jan 28, 2008
Thanks! That worked for me.
Originally posted by Olivier Legat: I don't quite see what your method is meant to do but if it just the boolean return part then I might be able to help.
Based on our program you may choose not to write "public" or "static"
Joined: Oct 13, 2005
Originally posted by S Nair: Thanks! That worked for me. . . .
Well done. Please post what you wrote, so other "greenhorns" can learn from it.