In Java, we create an object from a class, And the class is in the heap memory,
How can this class be cleared of this memory after the completion of the task?
Looking for a command or code, or whatever, to control the memory occupied by Java and empty it if necessary.
Thank.