Welcome to
On Feet Nation
Tractor Gyan Online
Lima Online
GRAHAM MULFY Online
MOS Medical Record Reviews Online
naila Online
Tommy Online
Alice Online
jack452 Online
rimeton454 Online
The delegation pattern is a technique where an object expresses a certain behavior to the outside but simultaneously delegates responsibility for implementing that behavior to an associated object.
Let's understand this with the help of an example:
Let's say we want a printer. And a printer does what it is supposed to do. Let's create an interface to show this behavior.
interface Printer {
void print(final String message);
}
https://erpsolutions.oodles.io/developer-blogs/Delegation-Pattern-a...
© 2024 Created by PH the vintage. Powered by
You need to be a member of On Feet Nation to add comments!
Join On Feet Nation