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
D. Comparable is a natural sorting interface that identifies relative size between elements, while Comparator is a forced sorting interface.
原文地址: https://www.cveoy.top/t/topic/fn14 著作权归作者所有。请勿转载和采集!