摘要: 阅读全文
posted @ 2020-03-10 18:27 林淼零 阅读(132) 评论(0) 推荐(0)
摘要: 基于基本数据类型的变量创建的数组: byte short int long double float char boolean 对于基本数据类型为: byte short int long 初始化为 0 对于基本数据类型为: double float 默认的为 0.0 boolean 对于基本数据类 阅读全文
posted @ 2020-03-10 17:39 林淼零 阅读(1049) 评论(0) 推荐(0)
摘要: public class TestArray { public static void main(String[] args) { int i; i = 12; boolean b = true; // 定义一个数组;数组的声明 String[] names; int scores[]; // 初始 阅读全文
posted @ 2020-03-10 11:58 林淼零 阅读(91) 评论(0) 推荐(0)