Class Person

java.lang.Object
  extended by Person

public class Person
extends java.lang.Object

Write a description of class Person here.

Version:
26/8/2013
Author:
Claude Sammut

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

Person

public Person(java.lang.String myName,
              int myAge,
              java.lang.String myAddress)
Method Detail

getAge

public java.lang.String getAge()
Get the value of the age field

Returns:
an int, which is the age

getName

public java.lang.String getName()
Get the value of the name field

Returns:
a string, which is the name