title: Empty list equals empty list
body: <p>I have an empty list of Stings and also an empty list of Integers. It seems that these lists are equal in Java. I am curious why this is, because the lists only can contain elements of different objects.</p>
  
  <pre><code>List&lt;String&gt; strings = new ArrayList&lt;String&gt;();
  List&lt;Integer&gt; ints = new ArrayList&lt;Integer&gt;();
  boolean compareLists = strings.equals(ints);
  </code></pre>
  
  <p>Why is <code>compareLists</code> true in this case?</p>