title: Java :Comparing two lists
body: <p>I have two lists (ArrayList) in java .</p>
  
  <p>The values of list1 = [1,2,3]</p>
  
  <p>the values of list2 = [2,3,4]</p>
  
  <p>The program's output should say '1' is missing and '4' is a new element . How do we go about doing that ?</p>