title: How can I get the implementation class name based on the interface object in Java
body: <p>I want to get the implementation class name from my interface object — is there any way to do this?</p>
  
  <p>I know I can use <code>instanceof</code> to check the implementation object, but in my application there are nearly 20 to 30 classes implementing the same interface to override one particular method. </p>
  
  <p>I want to figure out which particular method it is going to call.</p>