Java 控制台输出数组 Java 反转一个数组内容 Java 嵌套数组实例 Java 控制台输出数组 public class Welcome { public static void main(String[] args) { String[] greeting = new String[3]; greeting[0] = "This is the greeting"; greeting[1] = "for all the readers from"; greeting[2] = "Java Source ."; for (int i = 0; i < greeting.length; i++) { System.out.println(greeting[i]); } } } Java 反转一个数组内容 Java 嵌套数组实例