Which C++ features together support code reuse and type-specific behavior?

PYQ UPPSC Computer Operator Grade B 2019 Computer Operator Grade BModified — slightly modified from the official paper; see the solution

Which C++ features together support code reuse and type-specific behavior?

  1. A.

    Polymorphism

  2. B.

    Inheritance

  3. C.

    Encapsulation

  4. D.

    Both Polymorphism and Inheritance

Attempted by 36 students.

Sign up free to check your answer

Sign up free

Explore the full course: Btsc Lab Assistant

Loading lesson…