I have an array of objects.
Is it possible to make a new array that is a copy of this array, but in reverse order? I was looking for something like this.
Simple approach without implementing anything.
ArrayList oldlist = new ArrayList(); ArrayList newList = new ArrayList(); int size = oldlist.size()-1; for(int i=size;i>=0;i--){ newList.add(oldlist.get(i)); }