Computer Science, asked by vinaygowd788kep5y9r3, 5 months ago


In Java 8. which of the following statements about the garbage collection process is correct?
1. Unused package in a program automatically gets deleted.
2. The memory occupied by objects with no reference is automatically reclaimed for deletion.
3. Java deletes all unused java files on the system
4. The JVM cleans output of Java program
2
1 and 3
and 4​

Answers

Answered by Anonymous
5

2. The memory occupied by objects with no reference is automatically reclaimed for deletion

Answered by agrawalrakhi700
3

Answer:

The memory occupied by objects with no reference is automatically reclaimed for deletion.

Explanation:

I HOPE IT HELPS YOU

PLEASE MARK ME AS BRAINLIEST

Similar questions