Tag
type checking
-
How `instanceof` in Java Works: The Definitive Guide to Type Checking
The operator’s name—`instanceof`—hints at its purpose: determining whether an object is an instance of a specified class or interface. But the implications...