1. Home
  2. Engineering
  3. Computer Engineering
  4. Which feature of OOP allows reuse of existing code by…

Added 28 Nov 2026

Which feature of OOP allows reuse of existing code by creating a new class from an existing one?

  1. Encapsulation
  2. Polymorphism
  3. Inheritance Correct answer
  4. Abstraction

Correct answer

C. Inheritance

MCQSEXAM

Explanation

The child class inherits the parent's members.

Reference

Asked in: Engineering Computer Engineering Practice

https://en.wikipedia.org/wiki/Object-oriented_programming

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs