+ 1

If garbage collection is automatic in Java, then why is finalize() required?

4th Dec 2017, 4:45 PM
friendly_nadim
friendly_nadim - avatar
4 Answers
0
So what happens when we explicitly call finalize()?..& when should we even call it? What's the need?
4th Dec 2017, 5:22 PM
friendly_nadim
friendly_nadim - avatar
0
Well, now I got it. So, it doesn't effect the program!
5th Dec 2017, 7:12 AM
friendly_nadim
friendly_nadim - avatar