package edu.gatech.oad.antlab.person;
/**
 *  A simple class for person 6
 *  returns their name and a
 *  reversed string 
 *  
 *  @author  Bob
 *  @author  Dezhi
 *  @version 1.1
 */
public class Person6 {
   /** Holds the persons real name */  
	private String name;
	
	/**
	 * The constructor, takes in the persons
	 * name
	 * @param pname the person's real name
	 */
	public Person6(String pname){
	  name = pname;
	}
	
	/**
	 * Return a string rep of this object
	 * that varies with an input string
	 *
	 * @param input the varying string
	 * @return the string representing the 
	 *         object
	 */
	public String toString(String input) {
	  return name + calc(input);
	}
	
	/**
	 * This method should take the string
	 * input and return its reverse.
	 * given "gtg123b" it should return
	 * b321gtg.
	 *
	 * @param input the string to be reversed
	 * @return the reversed string
	 */
	private String calc(String input) {
	  //Person 6 put your implementation here
	  return null;
	}
}

@@ -115,22 +115,19 @@
 d string
- 
 %0A *
-  
 %0A *  @au
@@ -136,30 +136,18 @@
 or  
-Bob%0A *  @author  Dezhi
+Wenqi Xian
 %0A * 
@@ -224,18 +224,16 @@
  name */
-  
 %0A%09privat
@@ -247,18 +247,17 @@
 g name;%0A
-%09
 %0A
+
 %09/**%0A%09 *
@@ -396,26 +396,25 @@
 = pname;%0A%09%7D%0A
-%09
 %0A
+
 %09/**%0A%09 * Ret
@@ -561,17 +561,16 @@
 ting the
- 
 %0A%09 *    
@@ -663,10 +663,9 @@
 %0A%09%7D%0A
-%09
 %0A
+
 %09/**
@@ -957,21 +957,142 @@
 re%0A%09
-  return null
+%09String result;%0A%09%09for (int i = 0; i %3C input.length(); i++) %7B%0A%09%09%09  result += input.charAt(input.length() - i - 1);%0A%09%09%7D%0A%09  return result
 ;%0A%09%7D

Hello!