What mechanism does java use for memory management?



What mechanism does java use for memory management?..

Answer / Mahak Bajaj

Java uses garbage collection (GC) for managing memory. The JVM is responsible for automatically reclaiming the memory occupied by objects that are no longer being used or referenced.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

when to use ArrayList and when to use HashMap in webApplication.

2 Answers  


Which data type is class in java?

1 Answers  


What are the different types of data structures in java?

1 Answers  


Same common question what is Map,Set,HashMap,List????

4 Answers   Symphony,


What is the difference between compile-time polymorphism and runtime polymorphism?

1 Answers  


What is * argv?

1 Answers  


How do you sort a set in java?

1 Answers  


What are the main differences between the java platform and other platforms?

1 Answers  


What is preflight request?

1 Answers  


we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }

3 Answers  


What is string subsequence method?

1 Answers  


What is difference between fail-fast and fail-safe?

1 Answers  


Categories