OOPS
August 25, 2024OOPS
August 25, 2024OOPS
Question 115
|
What is garbage collection in the context of java?
The java virtual machine(JVM) checks the output of any java program and deletes anything that does not make sense at all
|
|
The operating system periodically deletes all of the java files available on the system
|
|
Any java packages imported in a program and not being used, is automatically deleted
|
|
When all references to an object are going, then the memory used by the object is automatically reclaimed
|
Question 115 Explanation:
Garbage collection is happened when all references to an object are going, then the memory used by the object is automatically reclaimed
Correct Answer: D
Question 115 Explanation:
Garbage collection is happened when all references to an object are going, then the memory used by the object is automatically reclaimed
Subscribe
Login
0 Comments