BlackRock interview question

Give examples of runtime and complied time polymorphism in C++ or Java