在java中定义一个方法,使一个整数数组逆序输出。求指导

如题所述

假设已经有一个数组is,类型为int
for (int i = is.length - 1; i > -1; ++i) {
System.out.println(is[i]);
}
温馨提示:答案为网友推荐,仅供参考
相似回答