What is the difference between message-passing and method-invocation?
Using Objective-C as an example of messages and Java for methods, the major difference is that when you pass messages, the Object decides how it wants to handle that message (usually results in an instance method in the Object being called). In Java however, method invocation is a more static thing, because you must have … Read more