RCS interview question

About oops concept inheritance polymorphism