单项选择题

A.自定义的类实现Comparable接口
B.自定义的类实现Serializable接口
C.自定义的类实现Comparator接口
D.自定义的类实现Iterable接口