By whom will the unallocated memory that is no longer needed will be cleared in java?

A) Java Virtual Machine

B) Garebage collector

C) Both A and B

D) None

View Answer
Option – B.