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 determining whether the object belongs to a particular class or not.
Liked By
Write Answer
What is an instanceof operator in java?
Join MindStick Community
You have need login or register for voting of answers or question.
Sumit Kesarwani
10-Apr-2014Instanceof 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 determining whether the object belongs to a particular class or not.