Implemented instanceof and checkcast opcodes