class TestCompareTo {
    
    public static void main (String[] args) {
        System.out.println("hello".compareTo("the"));
        // The next line won't compile;
        // only string.compareTo(String) is legal in Java 5.0
        System.out.println("hello".compareto(new Integer(444)));
    }
}
