reverse in jaav

Solutions on MaxInterview for reverse in jaav by the best coders in the world

showing results for - "reverse in jaav"
Angelo
31 Nov 2016
1// my linkedin : https://www.linkedin.com/in/vaalarivan-prasanna-3a07bb203/
2list = new ArrayList<int> {3, 4, 7};  //initialising a list
3Collections.reverse(list);  //reverses a List or an ArrayList
4//now, list is {7, 4, 3}
5