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 is serialization required?
Hi Friends.. can any one provide the real time example for methodoverloading and methodoverriding .........
Is ruby built on java?
why Java does not support multiple inheritances?
What is the syntax and characteristics of a lambda expression?
What are different data types?
How do you bind variables?
What is the difference between heap memory and stack memory?
what is daemon thread and which method is used to create the daemon thread? : Java thread
Difference between Map & Hashmap
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
2 Answers iGate, Seed Infotech,
How can you say HashMap is syncronized?