I remember reading in some Java book about any operator other than ‘instanceof’ for comparing the type hierarchy between two objects.
instanceof is the most used and common. I am not able to recall clearly whether there is indeed another way of doing that or not.
Yes, there is. Is not an operator but a method on the Class class.
Here it is: isIntance(Object o )
Quote from the doc: