When is an object in the mean to garbage collection?
Answer Posted / ravikiran
when it is not reffered by any active thread
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why singleton pattern is better than creating singleton class with static instance?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What is meant by anonymous class?
What is the disadvantage of java?
What are packages in java?
Where local and global variables are stored?
Can a constructor be made final?
When will you define a method as static?
What is jvm? How its run?
How are destructors defined in java?
Explain the use of volatile field modifier?
Describe the term diamond problem.
How many static init can you have?
What is oops in java?
What do you mean by pointer value and address?