title: Is generics runtime or compile time polymorphism?
body: <p>I read that the following format comes under parametric polymorphism, but can we classify it in one, either runtime or compile time polymorphism?</p>
  
  <pre><code>public class Stack&lt;T&gt;
  {  // items are of type T, which is known when we create the object
     T[] items;  
     int count;  
     public void Push(T item)    {...}
     //type of method pop will be decided when we create the object  
     public T Pop() 
     {...} 
   }  
  </code></pre>