摘要:
public class ListDemo { public static void main(String[] args) { //创建List集合对象 List<Student> list = new ArrayList<Student>(); //创建学生对象 Student s1 = new 阅读全文
posted @ 2020-04-08 10:26
硬盘红了
阅读(639)
评论(0)
推荐(0)
摘要:
public class ListDemo { public static void main(String[] args) { //示例1: int[] arr = {1,2,3,4,5}; for (int i : arr){ System.out.println(i); } System.ou 阅读全文
posted @ 2020-04-08 09:51
硬盘红了
阅读(142)
评论(0)
推荐(0)