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 |
Why is String immutable?
How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?
When parseint method can be used?
What is a parameter used for?
Explain about interrupt() method of thread class ?
What are the restrictions that are applied to the java static methods?
How can we use primitive data types as objects?
how many types of Inheritance?
Explain creating threads by implementing runnable class?
Write a function to print Fibonacci series and Tribonacci series?
How many times finalize method will be invoked? Who invokes finalize() method in java?
What is finally in exception handling?