title: ContainsAll List Java
body: <pre><code>     List&lt;String&gt; a = new ArrayList&lt;String&gt;();
       List&lt;String&gt; b = new ArrayList&lt;String&gt;();
  
       a.add("apple");
       a.add("orange");
  
       System.out.println(a.containsAll(b));
  </code></pre>
  
  <p>The above program prints a True. Dont understand why is it printing True?</p>