By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,985 Members | 1,712 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,985 IT Pros & Developers. It's quick & easy.

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

P: 1
what is the difference between a method and a message ?
Aug 31 '10 #1
Share this Question
Share on Google+
2 Replies

P: 1,059
follow the link link
Aug 31 '10 #2

Expert 100+
P: 983
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.
Aug 31 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.