is this question outdated?

I am reading that the finalize() method is a thing for before Java 9 and is not advised to be used for more modern solutions. Including I am getting some errors when trying to @Override it in the IntelliJ IDE.  Is it possible this question is outdated or what would be the expectation in terms of this
No description
4 Replies
JavaBot
JavaBot4w ago
This post has been reserved for your question.
Hey @SidKid! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st4w ago
technically it should still possible to override it but it is terminally deprecated (deprecated for removal) and shouldn't be used any more it's unreliable and can cause many issues so you shouldn't use it
Surly Joe
Surly Joe4w ago
The 90's called and want their java memory model questions back.
JavaBot
JavaBot3w ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.

Did you find this page helpful?