1. Home
  2. Engineering
  3. Computer Engineering
  4. Which of the following is called when an object is…

Added 28 Nov 2026

Which of the following is called when an object is destroyed?

  1. A destructor Correct answer
  2. Function overriding
  3. A compiler
  4. A logical error

Correct answer

A. A destructor

MCQSEXAM

Explanation

The answer is A destructor.

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