First, create a class called Person that implements the Comparable interface. Person will contain a member variable to hold a name, a constructor that sets up the name, and three methods (getName, compareTo, toString). getName returns the member variable, compareTo works as defined by the Comparable interface, and toString returns the name neatly formatted. Second, you\'ll compare Persons by their names. Include a main method in Person that asks the user to input ten names and generates ten Person objects. A blank name should not be used to create an object. Using the compareTo method, determine first and last person among them and print them. Do not simply sort the Person data. Solution Person.java import java.util.Scanner; public class Person implements Comparable { private String name; public Person(){ } public Person(String name) {this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String toString() { return \"Name: \" + name ; } public int compareTo(Person p) { return getName().compareTo(p.getName()); } public static void main(String a[]){ Scanner scan = new Scanner(System.in); Person p[] = new Person[10]; System.out.println(\"Enter 10 persons names: \"); for(int i=0; i.