What is garbage collection in Java, and how can it be used ?
Answer Posted / dsr
when ever object scope is over at that the object memory
removed.This is nown as garbageCollection.
| Is This Answer Correct ? | 19 Yes | 11 No |
Post New Answer View All Answers
Explain about static imports in java?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is the main method java?
What is the default value of local and global variables?
What do bitwise operators do?
Why java strings are immutable in nature?
What are classloaders?
What are the core java topics?
What are variable names?
What is the meaning of nullable?
Can classes declared using the abstract keyword cab be instantiated?
What is a nonetype?
What is Enum in Java?
What is the benefit of lambda expressions?
What is a function easy definition?