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
How do you implement singleton class?
Define reflection.
What are the steps involved to write rmi based programs?
What is use of static method?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
What is polymorphism in java? What are the kinds of polymorphism?
Is age discrete or continuous?
Can we clone singleton class in java?
Tell me how many ways are there to initialise an integer with a constant.
What are the important features of Java 10 release?
Explain purpose of sleep() method in java?
What are parsers? Dom vs sax parser.
What is the difference between static (class) method and instance method?
Difference between a process and a program?
What is array pointers ?