D. Comparable is a natural sorting interface that identifies relative size between elements, while Comparator is a forced sorting interface.

Which statement about the Comparable sorting interface and Comparator comparator is trueAThere is no differenceBComparable is a forced sorting interface while Comparator is a natural sorting interface

原文地址: https://www.cveoy.top/t/topic/fn14 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录