compare to collection objects
<p>How to compare to ArrayList objects in my project i want to check like this</p>

<pre><code>ArrayList al=new ArrayList();
al.add(".net");
al.add("java");
 ArrayList list=new ArrayList();
   list.add(".net");
    list.add("java");
      list.add("iphone")
</code></pre>

<p>now i want to compare al and list and i want the output is iphone please help me</p>
