title: Instantiating generic objects in Java
body: <p>Is it possible to instantiate generic objects in Java as does in the following code fragment? I know that it is possible in C#. But, I haven not seen a similar mechanism yet in Java.</p>
  
  <pre><code>// Let T be a generic type.
  T t = new T();
  </code></pre>