Create an array to store the objects: ArrayList<MyObject> list = new ArrayList<MyObject>();. In a single step: list.add(new MyObject (1, 2, 3)); ...
確定! 回上一頁