title: Get the interface name from the implementation class
body: <p>Example :</p>
  
  <pre><code>List&lt;String&gt; list = new ArrayList&lt;String&gt;();
  //This would give me the class name for the list reference variable.
  list.getClass().getSimpleName();
  </code></pre>
  
  <p>I want to get the Interface name from the <code>list</code> reference variable. 
  Is there any way possible to do that?</p>