how to minimize the functionality to will not force garbage
collector?

Answers were Sorted based on User's Feedback



how to minimize the functionality to will not force garbage collector?..

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

how to minimize the functionality to will not force garbage collector?..

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

Post New Answer

More Core Java Interview Questions

Why is String immutable?

0 Answers   Atos Origin,


How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?

5 Answers  


When parseint method can be used?

0 Answers  


What is a parameter used for?

0 Answers  


Explain about interrupt() method of thread class ?

0 Answers  






What are the restrictions that are applied to the java static methods?

0 Answers  


How can we use primitive data types as objects?

0 Answers  


how many types of Inheritance?

0 Answers   Impetus,


Explain creating threads by implementing runnable class?

0 Answers  


Write a function to print Fibonacci series and Tribonacci series?

0 Answers   Hexaware,


How many times finalize method will be invoked? Who invokes finalize() method in java?

0 Answers  


What is finally in exception handling?

7 Answers  


Categories