242 views
0 votes
0 votes

Which of the following is not a type of Garbage Collection Mechanism ?

A) Reference counting

B) Finalization queue 

C) Mark and sweep collection

D) Generational collection

I just know that garbage collection calls garbage collector which picks unused objects and deallocate it from the memory.

what is Reference counting ,Finalization queue? mark sweep collection and generational collection ?

please explain and why the answer is C) 

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
LavTheRawkstar asked Jun 29, 2016
960 views
What is the output of the following code segment ?Boolean b= false ;if (b = true)System.out.println("true");elseSystem.out.println("false");(A) true(B) false(C) compiler ...
0 votes
0 votes
1 answer
2
LavTheRawkstar asked Jun 28, 2016
943 views
What is the difference between the following shift operators : A) >> operatorB) > operatorC) << operator
2 votes
2 votes
1 answer
3
LavTheRawkstar asked Jun 28, 2016
456 views
Why Java does not support multiple inheritance?i want answer in simple words. i have searched for this answer in every textbook.Everytext just says that it doesnot suppor...
0 votes
0 votes
0 answers
4
LavTheRawkstar asked Jun 28, 2016
222 views
Which of the following methods need to be overridden if equals method is overriden? (A) hashCode method(B) toString method(C) compareTo method(D) equal methodcorrect answ...