Compare what you have to the syntax presented in the tutorial. If you still can't figure it out, you'll have to provide an SSCCE (not your whole program, but enough for us to copy and paste to see...
Type: Posts; User: KevinWorkman
Compare what you have to the syntax presented in the tutorial. If you still can't figure it out, you'll have to provide an SSCCE (not your whole program, but enough for us to copy and paste to see...
Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects)