2021年9月30日

Java中的数组

摘要: 1. 使用用Java中的数组,必须要经过声明数组和分配内存给该数组两个步骤(定义时就初始化除外)。 int a[] = null; a = new int[10]; int[] a = null; a = new int[10]; int a[] = new int[10]; 其中 null 表示的 阅读全文

posted @ 2021-09-30 02:24 Hello-World3 阅读(60) 评论(0) 推荐(0) 编辑

导航