task 1) change Object to ComparableNote that Comperable is an interface. Objects that inherit from Comperable have a method compareTo(). 老师让把ADT里的Object改为Comparable,Comparable是接口,Object是从接口继承来的,但是我理解不了改成Comparable会怎样?
添加回答
举报
0/150
提交
取消