I have two ArrayLists that each contain a list of unique String objects.I am trying to count the number of words that are common between both lists,
E.G have one list that contains the words,("house", "cat", "broom", "car", "chair"),
and 2nd list have ,("house", "cat")
i want the output in 3rd arrylist ("broom", "car", "chair"),
do you have sample code
please do the needful.