900605 wrote:In addition to what EJP said, make sure you understand that it is not possible to "nullify" an Object. Objects can never be null, only references can.
Lets talk about objects now.
If i create an object and left without nullifying then it stays in memory till garbage collector is called.
What happens if i nullify in finally? will the memory is cleared or in this case also just link(Object pointing) is cleared and it occupy memory still the garbage collector is called?