Answer:
Hi!
Explanation:
First, you have to create an instance of a Java Runtime object. (see the first step of the answer).
Then, after creating the instance of Runtime object you have to invoke gc() method of the Runtime class. (see the second step of the answer).