摘要: 数组和变量差不多,也是可以存放数据的,但是数组可以放多个数据. 1.动态初始化,指定数组长度。 2.静态初始化,指定数组内容。 public class test { public static void main (String[]args){ int [ ]arr={10,20,15,30}; 阅读全文
posted @ 2019-04-10 10:43 志超 阅读(105) 评论(0) 推荐(0) 编辑