This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 38087
    
  22
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: 38087
    
  22
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
Why finalize() method is called by the JVM only once?
Finalizer Method
finalize() method of garbage collection...HELP needed....
shutting down virtual marchine and Shutdown Hooks
Doubt on finalize()