Few people are willing to copy the code to an editor and compile it to find out what lines the error messages are referring to. The least you can do is post the full error message including the line number.
When posting code, please enclose it in code tags like [code]this[/code].
Correct the first error you found. No, you haven't found the first error; I did. Then see how many errors you have afterwards. Line 108 looks very iffy to me. You will have to make those corrections yourself; we don't write other people's code.
Note that the line numbers we see here are different from the numbers that you're seeing in your file. I'm guessing you didn't copy all the lines from your program into your post, so the line numbers are different. So, when people mention line number here, you'll have to look at the line numbers in your post to figure out which line they mean.
You seem to have written a lot of code before you started looking at the error messages. It's a lot easier if you write a little bit at a time, compile and run as you go, to see if what you're doing is being understood by the compiler. That way you can learn from a given mistake before you repeat it five more times.
Capitalization matters, in programming. If you look at an example program that says "public void main" and you change it to "Public Void main", it won't work. Was this copied and pasted from a word processor? They often change capitalization in ways that make no sense for programming.
There are also multiple places where you've inserted a ; where none should be. Or omitted a ().
Apart from the capitalisation, what is the difference? I don't like variable names like inAge; plain simple age would be so much better. I am also not convinced that all the setXXX() and getXXX() methods so many people are taught to use are actually a good thing.
Campbell Ritchie wrote:Apart from the capitalisation, what is the difference?
Not to disagree with your other points, but you seem to have missed other vital differences. The original code had an extra ; and no parameter list; it was effectively a field declaration followed by an initializer block, when it was presumably intended to be a method declaration.