Day 07

數組數組 查找下標:spa class Demo1 { public static void main(String[] args) { int [] arr = {1, 3, 23, 34, 5, 56, 7, 8, 9, 10}; int ret = findIndex(arr, 34); if (ret != -1) { System.out.println("ret = " + ret )
相關文章
相關標籤/搜索