System.gc()
However, you must know that you can not invoke garbage collector instantly.
Using System.gc() would place a request to JVM to garbage collect objects.
JVM would decide according to...
Type: Posts; User: anandmohans; Keyword(s):
System.gc()
However, you must know that you can not invoke garbage collector instantly.
Using System.gc() would place a request to JVM to garbage collect objects.
JVM would decide according to...
Java is not purely object oriented because, to be a pure object oriented language:
- the only way to access any data must be through the objects.
- Every data must be available in form of objects...