Can an object be garbage collected while it is still
reachable?
Answer Posted / ravikiran(aptech mumbai)
yes...all the garbage ollection things depends on the
garbage collector of JVM
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is valid keyword in java?
What are data types in oop?
what are synchronized methods and synchronized statements? : Java thread
How to display all the prime numbers between 1 and 100
What must a class do to implement an interface in java programming?
What does it mean that a method or field is “static”?
What is the final method?
What is the difference between abstract class and interface1? What is an interface?
Wha is the output from system.out.println(“hello”+null); ?
Why do we declare a class static?
What is a substitution variable?
What is stringjoiner ?
I want to print “hello” even before main is executed. How will you acheive that?
Can we declare a class as static?
Explain about collection interface in java?