Actually both Neelim & Umeshap are correct to an extent. The code provided by Neelim though correct will not execute by itself as it has no main. So what it needs is another class instantiating it...
Type: Posts; User: njosh; Keyword(s):
Actually both Neelim & Umeshap are correct to an extent. The code provided by Neelim though correct will not execute by itself as it has no main. So what it needs is another class instantiating it...
Hey! that is a pretty smart question that got me thinking at first but then I checked
the jdk documentation of System, Object and Runtime classes. There i discovered this:
System.gc():-
public...