What is finalized method in context of java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is finalized method in context of java?

In a challenge question i found "can a finalized method can be overriden? " and answer is "true". Is final method , finalize method are the same? I don't think so? If yes, Final method can not overridden. Then Ans should be false.. For this, May i get some clarification? Edit: I know finalized methods.. But that does not same to final method.?

18th Oct 2019, 2:32 PM
Jayakrishna 🇮🇳
2 Answers
+ 1
finalize method called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
18th Oct 2019, 4:51 PM
id001x
id001x - avatar
0
+ is deprecated
18th Oct 2019, 8:32 PM
zemiak