In order to create dynamic ArrayList form array, simply use new ArrayList(Arrays.asList(array)). this will create a new object of ArrayList and copies element ...
確定! 回上一頁