Collections.reverse in ajva code example
Example: Collections reverse on java
//import java.util.Collections;
//create and add items to list
Collectons.reverse(list);
//import java.util.Collections;
//create and add items to list
Collectons.reverse(list);