Normal flow will be there for the program
What do you mean by that? I asked if the object would be garbage collected or not?
If an exception is thrown in a finalize() method, the object would be garbage collected.But gc happens provided that there are no other possible active reference from an live thread.
Post a Comment
3 comments:
Normal flow will be there for the program
What do you mean by that? I asked if the object would be garbage collected or not?
If an exception is thrown in a finalize() method, the object would be garbage collected.
But gc happens provided that there are no other possible active reference from an live thread.
Post a Comment