java.lang.ObjectPerson
public class Person
Write a description of class Person here.
Constructor Summary | |
---|---|
Person(java.lang.String myName,
int myAge,
java.lang.String myAddress)
|
Method Summary | |
---|---|
java.lang.String |
getAge()
Get the value of the age field |
java.lang.String |
getName()
Get the value of the name field |
Methods inherited from class |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Person(java.lang.String myName, int myAge, java.lang.String myAddress)
Method Detail |
---|
public java.lang.String getAge()
public java.lang.String getName()