the instanceof keyword is a test operand that refers to an object of given type or not and is a binary expression that produces a boolean result for <expression> instanceof <type> example: string s = "carrot"; point p = new point (8,1); s instanceof string true s instanceof point false p instanceof string false p instanceof point true "hello" instanceof string true null instanceof point false