MCQs > IT & Programming > LAMP > Which help to keep an eye on the existing number of objects of a given class without introducing a non-class member variable?

LAMP MCQs

Which of the following helps to keep an eye on the existing number of objects of a given class without introducing a non-class member variable?

Answer

Correct Answer: Addition of a static member variable that gets incremented in each constructor and decremented in the destructor

Explanation:

Note: This Question is unanswered, help us to find answer for this one

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it