Which of the following option can be used to force garbage collection of an object? Choose most appropriate option. code example
Example: garbage collection in java
Garbage collection means destroying or de-allocating unused objects in memory.
Garbage collection means destroying or de-allocating unused objects in memory.