edu.gatech.oad.antlab.person
Class Person5

java.lang.Object
  extended by edu.gatech.oad.antlab.person.Person5

public class Person5
extends java.lang.Object

A simple class for person 4 returns their name and a modified string

Version:
1.1
Author:
Bob

Constructor Summary
Person5(java.lang.String pname)
          The constructor, takes in the persons name
 
Method Summary
 java.lang.String toString(java.lang.String input)
          Return a string rep of this object that varies with an input string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person5

public Person5(java.lang.String pname)
The constructor, takes in the persons name

Parameters:
pname - the person's real name
Method Detail

toString

public java.lang.String toString(java.lang.String input)
Return a string rep of this object that varies with an input string

Parameters:
input - the varying string
Returns:
the string representing the object