There must be a reference type after the instanceof operator.
By 'reference type', you mean something like Object, and not the variable representing an Object...?
By 'reference type', you mean something like Object, and not the variable representing an Object...?