Which method will complete this class?
A. public int compareTo(Object o){/*more code here*/}
B. public int compareTo(Score other){/*more code here*/}
C. public int compare(Score s1,Score s2){/*more code here*/}
D. public int compare(Object o1,Object o2){/*more code here*/}
Answer:B
Which method will complete this class?
A. public int compareTo(Object o){/*more code here*/} B. public int compareTo(Score other){/*more code here*/} C. public int compare(Score s1,Score s2){/*more code here*/} D. public int compare(Object o1,Object o2){/*more code here*/}