@@ -0,0 +1,1350 @@
+/**%0A * Contact represents a phone contact.%0A *%0A * @author Java Foundations%0A * @version 4.0%0A */%0Apublic class Contact implements Comparable%3CContact%3E%0A%7B%0A    private String firstName, lastName, phone;%0A%0A    /**%0A     * Sets up this contact with the specified information.%0A     *%0A     * @param first     a string representation of a first name%0A     * @param last      a string representation of a last name%0A     * @param telephone a string representation of a phone number%0A     */%0A    public Contact(String first, String last, String telephone)%0A    %7B%0A        firstName = first;%0A        lastName = last;%0A        phone = telephone;%0A    %7D%0A%0A    /**%0A     * Returns a description of this contact as a string.%0A     *%0A     * @return a string representation of this contact%0A     */%0A    public String toString()%0A    %7B%0A        return lastName + %22, %22 + firstName + %22%5Ct%22 + phone;%0A    %7D%0A%0A    /**%0A     * Uses both last and first names to determine lexical ordering.%0A     *%0A     * @param other the contact to be compared to this contact%0A     * @return      the integer result of the comparison%0A     */%0A    public int compareTo(Contact other)%0A    %7B%0A        int result;%0A%0A        if (lastName.equals(other.lastName))%0A            result = firstName.compareTo(other.firstName);%0A        else%0A            result = lastName.compareTo(other.lastName);%0A%0A        return result;%0A    %7D%0A%7D%0A

Create contact.java