Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public int compareTo(Contact other){
  2. ////TODO: Implement a correct version of compareTo().
  3. // You should only care about the name, so use the compareTo in java.lang.String
  4. // on the name variables only.
  5. if(other == null){
  6. throw new NullPointerException("Other is NULL");
  7. }
  8.  
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement