Can destructor (as in C++) be implemented in Java?

Questions by gvvskumaran   answers by gvvskumaran

Showing Answers 1 - 6 of 6 Answers

there is destructor concept in javabut there is method called finalize java has an inbuilt feature that collects the garbage memory locations and frees it regularlythe code in the finalize method will be executed when the java garbage colection utility frees that memory

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions