πŸ“Š JAVA
Q. What is garbage collection in the context of Java?
  • (A) The operating system periodically deletes all of the java files available on the~~~system.
  • (B) Any package imported in a program and not used is automatically deleted.
  • (C) When all references to an object are gone, the memory used by the object is~~~automatically reclaimed.
  • (D) The JVM checks the output of any Java program and deletes anything that~~~doesn't make sense.
πŸ’¬ Discuss
βœ… Correct Answer: (C) When all references to an object are gone, the memory used by the object is~~~automatically reclaimed.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
119
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
99%
Success Rate