edu.gatech.oad.antlab.person
Class Person1

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

public class Person1
extends java.lang.Object

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

Version:
1.1
Author:
Bob

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

Person1

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