I think you may be nesting the constructor inside the main() method which makes no sense. The compiler will grumble when it hits the "public" of the constructor. That and mismatched braces are a...