摘要: 1.数组的书写方式 (1):int[] numbers = {1,2}; (2.):int[] numbers = new int[10]; 2.数组最常见的报错问题 ArrayIndexOutOfBoundsException(数组越界,因为int输入为从0开始的,所以有时候会经常超出那个数组的数 阅读全文
posted @ 2020-09-29 10:15 dongwei123 阅读(180) 评论(0) 推荐(0) 编辑