/**
 * This program demonstrates the use of this in a constructor
 * to call a different constructor of the same class with a
 * different signature.
 */

class Test1 {
   public static void main(String[] args) {
      System.out.println(new Foo1().lunch);
   }  
}

class Foo1 {
   String lunch;
   
   Foo1() {
      this("turkey");
   }
   
   Foo1(String s) {
      lunch = s + " sandwich";
   }
}