boolean isIn = list.contains("value");. 查詢有回傳true,反之為false. 5.查詢特定元素位置. int idx = list.indexOf(s);. 回傳數值起始值為0.
確定! 回上一頁