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


Please Help Members By Posting Answers For Below Questions

What is class forname used for?

510


How does compareto work in java?

543


What is void keyword?

638


What are voids?

513


When the constructor of a class is invoked?

565






We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.

1461


In which language java is written?

512


What is thread pool in java with example?

520


Can keyword be used as identifier?

528


What about member inner classes?

598


Do you know how to reverse string in java?

559


Why do we create threads in java?

546


What does jre stand for?

582


What is variable declaration and definition?

518


why java uses class level type casting ?

2228