int [] array = new int []{1,3,-1,5,-2};
int [] newArray = new int []{array.length};
System.out.println("原数组为:");
for (int i = 0; i < array.length; i++) {
System.out.println(array+"");
}
for (int i = array.length-1; i>= 0; i--) {
if (array |
免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。
版权声明:作者保留权利,不代表天盟立场。
|