Wednesday, August 10, 2011

Call a method in another class in java?

You need to have an instance of the Person class (eg. "myPerson") within your requestOwnerData method, then call myPerson.requestData();

No comments:

Post a Comment