what is the difference between method and a message? is method is same as a function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mca2010
    New Member
    • Aug 2010
    • 1

    #1

    what is the difference between method and a message? is method is same as a function

    what is the difference between a method and a message ?
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    follow the link link

    Comment

    • Oralloy
      Recognized Expert Contributor
      • Jun 2010
      • 988

      #3
      A message is any packet of communication between objects. The objects may be in the same program, or they may be on different systems. It simply doesn't matter.

      A method is a block of code attached to an object by some means. It may be implicitly attached by means of a class, or it may be an anonymous closure attached to an arbitrary attribute of the object.

      Comment

      Working...