Question: Why does Java not have destructors? Question 1 2 options: To discourage resource management To introduce resource leaks To increase the complexity of programming language
Why does Java not have destructors?
Question options:
To discourage resource management
To introduce resource leaks
To increase the complexity of programming language
Because it has an implicit garbage collection to manage memory deallocation
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
