Explain the purpose of garbage collection in Java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

How to prevent to create multiple objects of a java class?

3 Answers   ASD Lab, TCS,


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

0 Answers   HCL,


What is an 8 bit word?

0 Answers  


Can you explain the usages of class.forname()?

0 Answers  


What is garbage collection? Can it be forced to run?

0 Answers   Global Logic,






Explain, why the constructor is required in implemented class?

4 Answers  


What is meant by bytecode?

0 Answers  


what is the output ? Math.floor(-2.1) a)2 b)-2 c)-3.0 d)0

4 Answers   Accenture,


Can we use return in constructor?

0 Answers  


Mention the default values of all the elements of an array defined as an instance variable.

0 Answers  


What is the difference between a field variable and a local variable?

0 Answers  


what is the diff between Servletcontext and servletconfig?

5 Answers  


Categories