public class OverloadTest
{
  public static void main(String[] args)
  {
    int a = 7;
    boolean c = false;
    String d = "woohoo!";
    test(a);
    test(c);
    test(d);
  }
  
  public static void test(int x)
  {
    System.out.println("I am an integer.");
  }
  
  public static void test(boolean x)
  {
    System.out.println("Am I a boolean?  Yes?  No?");
  }
  
  public static void test(String x)
  {
    System.out.println("Aye, I'm a String and proud of it!");
  }
}

