title: Erasure in detail?
body: <p>I am studying generics in Java.
  I studied that during compilation, erasure erases all the generic info.</p>
  
  <p>Here, i studied that all T is replaced with Object.</p>
  
  <pre><code> Integer v = display(2);
   String d = display("3");
  
  public &lt;T&gt; T display(T i){
         return i;
      }
  </code></pre>
  
  <p>I hope it will be turn into </p>
  
  <pre><code>Integer v = (Integer)display(2);
  String d = (String) display("3");
  public Object display(Object i){
  return i;
  }
  </code></pre>
  
  <p>So, is my assumption right?</p>
  
  <p>Thanks.</p>