What is an instanceof operator?
Ask by Sumit Kesarwani
Updated 16 Sep 2020
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.