What will be in the list class (SortedList.java)?
Every node in your list will contain a Person object. The list class will the the list data structure and may contain among other things: • the pointer to the first node, • the ponter to the last node, • the count of nodes currently in the list • a method to traverse the list, • a method to find an element, • a method to add an element • a method to delete an element. Please base your coding in the interface given. the above are only tips/ suggestions. What will be in the Person class (Person.java)? Your Person class should implement Comparable so that you will be able to compare objects of this class. Person.java will have two instance variables, • Name – a String • ID – an int This implies all the methods related to the instance variables, such as all the mutators and accessors (set and get methods), the toString method, the equals method and the compareTo method that will be required since your Person class will implement Comparable. Your compareTo method should compare the person’s