Guest User

Untitled

a guest
Jan 21st, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.14 KB | None | 0 0
  1.     public boolean equals(Object otherObject) {
  2.         if(word.compareTo(otherObject.toString())== 0)
  3.         {
  4.             return true;
  5.         }
  6.         return false;  
  7.     }
Add Comment
Please, Sign In to add comment