Javatpoint Logo

Can we call a garbage collector explicitly without using system or runtime class ?

By: jatind*** On: Fri Sep 07 12:14:38 IST 2012     Question Reputation1 Answer Reputation0 Quiz Belt Series Points0  1Blank User
Last time i went for a interview and the question was ... 1.Suppose in my project i have 4 garbage collector and as per my requirement i can call any garbage collector or i can tell JVM that i want that particular garbage collector.How can we use that in java ? Up0Down

 
with the help of IDE. there is a facility in IDE we can call garbage collector explicitly. with calling any method. just click the button.Image Created0Down

By: [email protected] On: Fri Sep 07 15:43:07 IST 2012 Question Reputation0 Answer Reputation20 Belt Series Points0 20User Image
Are You Satisfied :0Yes0No