public class Person {
  private String name;
  
  public Person()
  {
    this.name = "Not Yet Named";
    System.out.println("A new person was created!");
    
  }
  
  public Person(String newName)
  {
    this.name = newName; 
  }
  
  public void setName( String newName)
  {
     this.name = newName; 
  }
  
  public String getName()
  {   
    System.out.println("Somebody asked my name!");
    return( this.name  );  
  }
  
  public  void greet() {
    System.out.println("Hi! I'm a person and my name is " + this.name);
  }

  
} // end person