Intersection between two arrays
<p>I have a problem finding the difference between two arrays in java, my case is like imagine we have two arrays. array <code>A = {1 , 3 , 5 , 7 ,9 }</code> and array <code>B = {1 ,3 , 4 ,5 , 6 ,7 , 10}</code>. I want to have two results first result is an array which finds the missing objects from array "A" , and the second result is an array which finds the added objects in array "B". the first result should be Like <code>A'={9}</code> and the second result is like <code>B'={4,6,10}</code>.<br/><strong>Thank you for your comments.</strong><br/></p>