@Adhyan4U
This video tutorial explain about how java support destructor. How to use Finalize method in java. it also explain what is garbage and how authentic garbage collection works in Java with example.
I how after go through this video tutorial students can able to implement and explain about destructor an garbage in java. Java doesn't support destructor.
#DrBahadurSingh_ePathshala #destructorinjava
java does not support destructors. All freeing the memory task is done by GARBAGE COLLECTOR. Java has it's own memory management feature using garbage collector. When you use finalize() the object becomes available for garbage collection and you don't need to explicitly call for the destructor.
Thanks for your support 🙏