Continental interview question

oops concept, polymorphism, thread