Java does not recognize Comparator Interface
<p>Simply put, i have a Person class and I wish to implement the Comparator Interface. Whenever I do so, my compiler throws an error saying it cannot find that class. Why does this happen?</p>

<pre><code>public class Person implements Comparator
{
    private final String firstName;
    private final String lastName;
    private int age;
}
</code></pre>
