java API------Arrays類binarySearch方法

//摘自ocjp: import java.util.*; public class Quest { public static void main(String[] args) { String[] colors = {"blue", "red", "green", "yellow", "orange"}; Arrays.sort(colors); int s2 = Arrays.binaryS
相關文章
相關標籤/搜索