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 are the two types of java?
Does .length start 0 java?
Can a final variable be manipulated in java?
Write a program to check for a prime number in java?
If a method is declared as protected, where may the method be accessed?
How is hashcode calculated in java?
What are java packages?
What is the byte order of byte buffer?
What are the two parts of a conditional statement?
What is java Applet?
How do you override a private method in java?
How do you remove all elements from an arraylist in java?
How static variable work in java?
What is the buffer limit?
What are exception handling keywords in java?