• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

adv and disadv of constructor and finalizer method

 
shobha devi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone please tell advantages and disadvantages of constructors and finalizer methods in jav?
 
Campbell Ritchie
Sheriff
Pie
Posts: 49379
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are a "beginner" you should not use the finalize method.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Disadvantage of constructors compared to what?
 
Campbell Ritchie
Sheriff
Pie
Posts: 49379
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please avoid abbreviations like adv and disadv.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic