We don\'t have any destructor in Java as we have in C++.
Q1. How should we clean up any Object in java.
Q2. Is there any a
You can use java.lang.ref.Cleaner in Java 9,