Java View all facts Glossary Help |
| syntactic unit > symbol > operator > binary operator > instanceof operator |
| instanceof operator | ||||
| subject | fact | |||
| instanceof operator | has example sylvester instanceOf Dog //returns false fido instanceof Dog //returns true | ![]() |
| has purpose to return true if the instance is either a direct instance of the given class or of a subclass of that class | ![]() | |
| is a subtopic of Operators | ![]() | |
| is a kind of binary operator | ![]() | |
| binary operator | uses an infix notation | ![]() |
| operator | evaluates to its result | ![]() |
| has precedence | ![]() | |
| is part of an expression | ![]() | |
| is evaluated before another operator with lower precedence | ![]() | |
| returns a value called its result | ![]() | |
| syntactic unit | has syntax rule bold = mandatory | ![]() |