use of "Instance of" in java
<blockquote>
  <p><a href="http://stackoverflow.com/questions/7313559/what-is-the-instanceof-operator-used-for">What is the &#39;instanceof&#39; operator used for?</a>  </p>
</blockquote>



<p>i learn that java has <code>"instance of "</code> operator are there. so can you elaborate what is use of <code>instance of</code> operator and advantages of use instance of operator?</p>
