title: Generic constructor
body: <p>Let we have the following class:</p>
  
  <pre><code>public class MyClass&lt;T&gt;{
      public &lt;E&gt; MyClass(E e){ System.out.println(e.toString);}
  }
  public class Main{
      public static void main(String[] args){
          new MyClass(new String("string"));//will be invoked comstructor MyClass(Object)
      }
  }
  </code></pre>
  
  <p>As known when we create a new instance of class firstly invoked a method of this class who called constructor. <strong>Questions:</strong> </p>
  
  <ol>
  <li>Is it true that by default type of constructor's return value is <code>void</code>? </li>
  <li>Does from type erasure following that constructor <code>public &lt;E&gt; MyClass(E e){ System.out.println(e.toString);}</code> equivalent to <code>public MyClass(Object o){ System.out.println(o.toString);}</code>?</li>
  </ol>