title: Java Generics: List, List<Object>, List<?>
body: <p>Can someone explained, as detailed as possible, the differences between the following types?</p>
  
  <pre><code>List
  List&lt;Object&gt;
  List&lt;?&gt;
  </code></pre>
  
  <p>Let me make this more specific. When would I want to use</p>
  
  <pre><code>// 1 
  public void CanYouGiveMeAnAnswer(List l) { }
  
  // 2
  public void CanYouGiveMeAnAnswer(List&lt;Object&gt; l) { }
  
  // 3
  public void CanYouGiveMeAnAnswer(List&lt;?&gt; l) { }
  </code></pre>