Wednesday, February 16, 2011

Forwarding

In case of composition, each instance method in the new class which contains or is composed of other class, invokes the corresponding method on the contained instance of the existing class and returns the results. This is known as forwarding, and the methods in the new class are known as forwarding methods.

No comments:

Post a Comment

Chitika