case study on runtime polymorphism and inheritance in java essay question words meaning