I have three Arraylists like this
List<String> list1 = new ArrayList<String>();
List<String> list2 = new ArrayList<String>();
List<String> finallist = new ArrayList<String>();
list1 contains items "a","b" list2 contains items 1 , 2, 3 how to make a finallist that will contain "a1" "a2" "a3" "b1" "b2" "b3"
a1, a2, a3, but not1a, 1b, 1c, do you only want combinations and not permutations?