First, your Person class is "quite" correct. The main problem is that age instance variable is String but getAge returns an int. This gives you a compilation error!

Second (less important) declare...