public class Home { public static void main(String[] args) { int[] ns = { 1, 4, 9, 16, 25 }; // 倒序打印数组元素: for (int i=ns.length-1;i>=0;i--) { System.out.println(ns[i]); } } }
Sign in to make a reply
我不是胡胡v