Home > DeveloperSection > Interviews > What is an instanceof operator?

Posted on    February-10-2014 12:04 AM

 Java Java 
Ratings:
 1 Answer(s)
  982  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    February-10-2014 1:00 AM

Instanceof is an object reference operator and returns true if the object on the left-hand side is an instance of the glass given to the right hand side.This operator allows to determine whether the object belongs to a particular class or not.


Don't want to miss updates? Please click the below button!

Follow MindStick