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 |
when to use ArrayList and when to use HashMap in webApplication.
Which data type is class in java?
What are the different types of data structures in java?
Same common question what is Map,Set,HashMap,List????
What is the difference between compile-time polymorphism and runtime polymorphism?
What is * argv?
How do you sort a set in java?
What are the main differences between the java platform and other platforms?
What is preflight request?
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"); } }
What is string subsequence method?
What is difference between fail-fast and fail-safe?