1. Home
  2. Engineering
  3. Computer Engineering
  4. Which of the following allows a class to acquire the…

Added 28 Nov 2026

Which of the following allows a class to acquire the properties of another class?

  1. A destructor
  2. Inheritance Correct answer
  3. A header file in C
  4. Abstraction

Correct answer

B. Inheritance

MCQSEXAM

Explanation

The answer is Inheritance.

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 B? 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