Next Oct 4 Previous
Not who: what
The instanceof
operator
A: tests if an object implements a specific interface
B: checks if a variable is one of the scalar types string
, int
or bool
C: can't be used to test if an object class was extended from another base class
D: can't be used on classes that only implement static methods and properties