title: How can I check a class has no arguments constructor
body: <pre><code>    Object obj = new Object();
      try {
          obj.getClass().getConstructor();
      } catch (SecurityException e) {
          e.printStackTrace();
      } catch (NoSuchMethodException e) {
          dosomething();          
          e.printStackTrace();
      }
  </code></pre>
  
  <p>I don't want check like this, because it throw a Exception.</p>
  
  <p>Is there another way?</p>