how to delete a object in java

how to delete a object in java

set object to null (no reference to the object)

Object o = new Object();
o = null;
Source:‮al.www‬utturi.com
Created Time:2017-09-11 15:32:39  Author:lautturi