Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Distinguish between a constructor and a destructor and specify when they are executed in a computer code.

Distinguish between a constructor and a destructor and specify when they are executed in a computer code.

Answers


Davis
A constructor is the function that is called when an object is created. A destructor is the function that is called when an object is destroyed
Githiari answered the question on November 17, 2017 at 05:32

Answer Attachments

Exams With Marking Schemes

Related Questions