What are the key features of Java that make it platform-independent?
The question is about Java
Answer:
It does this through use of Java’s inbuilt garbage collection. The JVM will automatically recover any memory used by objects which the application is no longer referencing. It avoids memory leaks, therefore reducing the possibility of a crash due to running out of memory, hence it gives the programmer more leeway to focus on coding rather than managing memory.