04-24-2011, 10:38 PM
when we 'logout' from application, Explicit Destructor will be called , Am i right?
|
Explict Destructor. in java 2011
|
|
04-24-2011, 10:38 PM
when we 'logout' from application, Explicit Destructor will be called , Am i right?
04-24-2011, 10:39 PM
In java it is not garneted. As in java garbage collection is done automatically in java, so programmer does not need to worry about it.
The finalize() method is called before the object is to gced. Note that the invocation of finalize is not garneted to be called at any particular time. And may not be called if System.exit(int) is invoked before the object is gced. 0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|