package com.sf; public class Test5 { public static void main(String[] args) { /** 动态初始化 * 数组存储的元素的数据类型[] 数组名字 = new 数组存储的元素的数据类型[长度]; * 或 * 数组存储的数据类型[] 数组名字; * 数组名字 = new 数组存储的数据类型[长度]; */ int[] aa = new int[3]; int[] bb; bb = new int[4]; // for (int i =0;i