Arrays.sort()可以直接对基本类型(int、char、double..)数组进行从小到大的排序,也可以对包装类类型(Integer、Character、Double..)进行从小到大排序 char型是按ASCII码排序的
原文地址:https://blog.csdn.net/qq_37405320/article/details/72862155?utm_source=blogxgwz3
Arrays.sort()可以直接对基本类型(int、char、double..)数组进行从小到大的排序,也可以对包装类类型(Integer、Character、Double..)进行从小到大排序 char型是按ASCII码排序的
原文地址:https://blog.csdn.net/qq_37405320/article/details/72862155?utm_source=blogxgwz3