When to use Class.isInstance() & when to use instanceof operator?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4140065/java-isinstance-vs-instanceof-operator">Java isInstance vs instanceOf operator</a>  </p>
</blockquote>



<p>When to use Class.isInstance() &amp; when to use instanceof operator?</p>

<p>Java is providing 2 option for checking assignment compatibility. Which to use when?</p>
