1. Home
  2. Engineering
  3. Computer Engineering
  4. Which statement is correct? Inheritance

Added 28 Nov 2026

Which statement is correct? Inheritance

  1. Translates and executes the program line by line
  2. Is a special method called when an object is created
  3. Is 4 bytes
  4. Allows a class to acquire the properties of another class Correct answer

Correct answer

D. Allows a class to acquire the properties of another class

MCQSEXAM

Explanation

Inheritance allows a class to acquire the properties of another class.

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