You have an Object and you are trying to call the method getAge() on it. This method does not exist in class Object. You need to cast the Object to FirstApp:
I am not convinced that this is what Mark wants... From his question, I got the impression that he wants to use the methods for any object -- not just firstApp objects that is referenced as Object objects.
The cast will allow it to compile, but will throw an exception at runtime, if he passes any object that is not an instanceof FirstApp object.
Henry