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

What are the uses of synchronized keyword?

545


Is there any difference between nested classes and inner classes?

521


What are the features of java?

521


What is identifier in java?

538


What is hashing principle in java?

542






is there a separate stack for each thread in java? : Java thread

523


Can we override the static methods?

556


What is a Hash Table? What are the advantages of using a hash table?

591


What is the difference between serializable and externalizable interface?

556


How to create com object in Java?

630


Print Vertical traversal of a Binary Tree.

595


Is string thread safe in java?

564


Does java map allow duplicates?

481


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

612


What is meant by flickering?

638