数组
摘要:数组:数组是存储同一种数据类型数据的集合容器。数组的定义格式: 数据类型[] 变量名 = new 数据类型[长度]; 例如: int【】 arr = new int[10]; 定义一个变量arr指向一个存储类型为int型,长度为10的数组对象数组的特点: 1. 数组只能存储同一种 数据类型的数据。
阅读全文
posted @ 2016-08-31 16:01
posted @ 2016-08-31 16:01
posted @ 2016-08-31 10:47
posted @ 2016-08-10 23:05
posted @ 2016-08-10 22:58