edu.gatech.oad.antlab.person
Class Person4

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

public class Person4
extends java.lang.Object

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

Version:
1.1
Author:
Bob

Constructor Summary
Person4(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

Person4

public Person4(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