java中compare的用法 compareto比较字符串 java的compareTo()函数?没关系string a=“ABC”此时,已为string类型的变量分配了内存地址[即堆],然后重新分配相同的变量。引用类型变量的内... 2021-03-15 1410次浏览