Type Checking with instanceof - OCP Violations and Fixes | OneNoughtOne