Java View all facts Glossary Help |
syntactic unit > symbol > operator > binary operator > instanceof operator |
instanceof operator comparison table |
Subject | have example | has definition | have purpose | is a kind of |
---|---|---|---|---|
binary operator | An operator that has 2 arguments | to perform a simple function of 1 to 3 arguments | operator | |
instanceof operator | sylvester instanceOf Dog //returns false fido instanceof Dog //returns true | to return true if the instance is either a direct instance of the given class or of a subclass of that class | binary operator |
Next binary operator: | Up: binary operator Previous binary operator: caret