how to minimize the functionality to will not force garbage
collector?
Answers were Sorted based on User's Feedback
Answer / abcdefg
Yes,
Garbage collection (GC) is a form of automatic memory
management. The garbage collector, or just collector,
attempts to reclaim garbage, or memory used by objects that
will never be accessed or mutated again by the application.
Garbage collection was invented by John McCarthy around
1959 to solve the problems of manual memory management in
Lisp.[1]
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / ravikiran(aptech mumbai)
We cannot restrict garbage collector that all depends on the
garbage collector engine
| Is This Answer Correct ? | 0 Yes | 1 No |
Explain some best practices you would apply while using collection in java?
When is an object subject to garbage collection?
What is constructor and virtual function?
What is Overriding and how can it be used?
What is class variable java?
What is use of inner class in java?
What are data types in programming?
What is java object name?
What is argument in java?
Why is it important to initialize a variable?
Can we inherit the constructor in a Class?please give one example.
whats the life cycle of jsp