aspose file tools
The moose likes Beginning Java and the fly likes adv and disadv of constructor and finalizer method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "adv and disadv of constructor and finalizer method" Watch "adv and disadv of constructor and finalizer method" New topic
Author

adv and disadv of constructor and finalizer method

shobha devi
Greenhorn

Joined: Mar 11, 2009
Posts: 11
can anyone please tell advantages and disadvantages of constructors and finalizer methods in jav?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32654
    
    4
If you are a "beginner" you should not use the finalize method.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Disadvantage of constructors compared to what?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32654
    
    4
Please avoid abbreviations like adv and disadv.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: adv and disadv of constructor and finalizer method
 
Similar Threads
shutting down virtual marchine and Shutdown Hooks
Doubt on finalize()
finalize() method of garbage collection...HELP needed....
Finalizer Method
Why finalize() method is called by the JVM only once?