Why we can not force Garbage Collection?

Answer Posted / neeraj_passion2001

who says can not run garbage collector forcefuly?
we can as System.gc();

Is This Answer Correct ?    4 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain the cs option of java interpreter?

499


What data type is a string?

509


What is comparator in java?

545


What is java util?

530


What is a boolean structure?

551






Can you call a method in a method?

524


What is the use of coding?

517


Which package is imported by default?

623


Can we convert list to set in java?

507


Which is faster set or list in java?

522


If a class is declared without any access modifiers, where may the class be accessed in java programming?

649


What is a native method in java programming?

519


How do you replace all in word?

516


Why generics are used in java?

545


What is a condition in programming?

550