This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
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: 38513
    
  23
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: 38513
    
  23
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