假如创建一个String类型的数组。
String [] x = new String[5];然后分别对数组中的5个元素进行赋值。也可以在创建的时候直接初始化: String [] x = {"a","b","c","d","e"};