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
Answers
Answered by
3
Hey mate
Here's ur answer
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
Explanation - The primary purpose of a destroy function is to centralize the responsibility for cleaning up anything that the object has done that will:
1. Prevent its reference count from dropping to 0 (for example, removing problematic event listeners and callbacks and unregistering from any services).
2. Consume unnecessary CPU cycles, such as intervals or animations.
Here's ur answer
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
Explanation - The primary purpose of a destroy function is to centralize the responsibility for cleaning up anything that the object has done that will:
1. Prevent its reference count from dropping to 0 (for example, removing problematic event listeners and callbacks and unregistering from any services).
2. Consume unnecessary CPU cycles, such as intervals or animations.
Answered by
1
Hey mate, here's ur answer,
Option C is the answer.
Hope you will make my answer brainliest please please please.
Option C is the answer.
Hope you will make my answer brainliest please please please.
Similar questions
Hindi,
7 months ago
Social Sciences,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Economy,
1 year ago
Math,
1 year ago