381 views
0 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.

Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
1.9k
1.9k views
LavTheRawkstar asked Jun 29, 2016
1,869 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 0 votes
1 answers 1 answer
1.4k
1.4k views
LavTheRawkstar asked Jun 28, 2016
1,370 views
What is the difference between the following shift operators : A) >> operatorB) > operatorC) << operator
2 2 votes
1 1 answer
778
778 views
LavTheRawkstar asked Jun 28, 2016
778 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 0 votes
0 0 answers
434
434 views
LavTheRawkstar asked Jun 28, 2016
434 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...