在Java 中, ArrayList 是一种常用的动态数组实现,它可以存储任意类型的对象。如果需要存储int 类型的数据,可以使用Integer 类型的ArrayList。 下面是一个示例:
確定! 回上一頁