Java / Exception
How does finally block differ from finalize() method in Java?
A finally block will be executed whether or not an exception is thrown and is used to release those resources held by the application.
Finalize is a protected method of the Object class, which is called by the Java Virtual Machine (JVM) just before an object is garbage collected.
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
More Related questions...