Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

differnce between constructor and method

 
Nazia nite
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are 3 major difference between constructor and method
 
Donald R. Cossitt
buckaroo
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In order to be an object, the object must have
Identity
State
Behavior

See constructor tutorial and follow the arrows on to Implementing Methods et seq
HTH
[ June 08, 2003: Message edited by: Donald R. Cossitt ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic