Better start at the beginning: (link below)
The Java™ Tutorials

A question for you: where does your "main" method end?

db