When is an object in the mean to garbage collection?

Answer Posted / sathya

When the object is no longer referenced, its eligible for
Garbage Collection

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are observer and observable used in java programming?

541


Can private class be inherited in java?

547


What is locale in java?

571


What is thread count in java?

543


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

1982






What is final keyword in java? Give an example.

574


Is integer a class?

563


What is an arraylist in java?

515


Explain reverse a linked list recursive java solution?

525


What is primitive data type in java?

537


What are the difference between composition and inheritance in java?

510


what is object-oriented programming in java?

585


what do you mean by java annotations?

543


how many types of Inheritance?

645


What is ternary operator in java?

591