lyh5

导航

2022年4月13日 #

JAVA中数组的使用

摘要: Java中数组的定义与声明 int[]nums;//定义 int[] a = new int[10];//可以存放10个int类型数字int[] a ={1,2,3,4,5,6,7,8,9,10}//另一种定义方式 public class ArrayDemo1 { public static vo 阅读全文

posted @ 2022-04-13 22:36 写代码的山顶洞人 阅读(131) 评论(0) 推荐(0) 编辑