Memory management in JAVA
Answers were Sorted based on User's Feedback
Answer / srikanth
garbage collector ie gc is responsible for Memory
management in JAVA
whenever heap memory is full jvm makes list of objeects
which is unrefered and it calls finalize()method on that
method to cleanup resourse which is hold by it and finaaly
gc()method is invoked finally to relese the resource
| Is This Answer Correct ? | 29 Yes | 1 No |
Answer / guest
memory management can be maintained by JVM .It allocates space
in heap area
| Is This Answer Correct ? | 6 Yes | 1 No |
Why webdriver is an interface?
Where is singleton pattern used?
What is unicode?
What is the difference between && and & in java?
What is treeset in java?
What does jre stand for?
Can we override compareto method?
How do you make an arraylist empty in java?
give an example for encapsulation?
What are inbuilt functions in java?
What are File and RandomAccessFile classes?
What are the main features of java?