CTS Interview Question

Similarity between inheritance and polymorphic.