I have two ArrayLists of the same size but one of the ArrayLists holds strings.
For example:
List 1 = new ArrayList<String>();
List 2 = new ArrayList<Integer>();
(apple , orange , pear , banana , kiwi) are in list 1 (5 , 4 , 3 , 2 , 1) are in list 2
I want it to print like this:
apple 5
orange 4
pear 3
banana 2
kiwi 1