Question: Why are destructors rarely used in Java but essential in C++?
Why are destructors rarely used in Java but essential in C++?
Step by Step Solution
3.45 Rating (158 Votes )
There are 3 Steps involved in it
Destructors are the counterparts of Constructors and destructors are spontaneously called while the objects get lost Mainly Destructors are employed i... View full answer
Get step-by-step solutions from verified subject matter experts
