Forwarding (object-oriented programming)

ConceptComputer Science Concepts
A technique that redirects object member use
1.00Common

A technique that redirects object member use
Common
In object-oriented programming, forwarding is a technique in which use of an object's property or method is redirected to the corresponding member of another object. It is used in several design patterns, with some members forwarded and others handled by the directly used object. The forwarding object is often called a wrapper object, and explicit forwarding members are called wrapper functions.
The picture on this card was made with AI. It is an illustration, not a real photo of the subject.
Kosmora is not affiliated with or endorsed by the Wikimedia Foundation.