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
What do you understand by overloading and overriding in java?
How do you square a number?
What are the 7 types of characters?
What is internal variable?
is it possible to instantiate the math class?
Discuss different types of errors that generally occur while programming.
What is hash table in java?
Which command from the jdk compiles a java program?
Can a method be static?
Explain different forms of polymorphism?
How does java enable high performance?
What is the difference between java applets and applications?
How to sort array of 0 and 1 in java?
What is the significance of continue jump statement? Explain with an example.
What is the difference between member variables initialization and assignment in a constructor?