Answer Posted / vijayakumar chinnasamy
Variable/object
1. is eligible for garbage collection when no object refers
to it.
2. Is eligible when its reference is set to null i.e
objName=null.
3. referred by method variables or local variables are
eligible for garbage collection when they go out of scope.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is callable java?
What is the independent variable in an experiment?
Why constructor has no return type?
What is meant by data hiding in java?
Explain the inheritance?
How many bits is a string?
How do you sort arrays in java?
What is array in java?
Differentiate between overriding and overloading cases?
What are the topics in advance java?
What is the purpose of the system class in java programming?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
What is the type of lambda expression?
What is identifier with example?
What is update method called?