Q. What is the purpose of destroying the functions and objects?

  • (A) Consume unnecessary CPU cycles
  • (B) Prevent the dropping of reference count to 0
  • (C) Centralize the responsibility to clean up
  • (D) All of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the mentioned
Explanation: The primary purpose of a destroy function is to centralize the responsibility for cleaning up anything that the object has done that will:
Explanation by: Mr. Dubey
The primary purpose of a destroy function is to centralize the responsibility for cleaning up anything that the object has done that will:

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
213
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate