Quantcast
Channel: Gurpreet Sachdeva – Java Code Geeks
Viewing all articles
Browse latest Browse all 6

Java 8 Lambda Expression for Design Patterns – Strategy Design Pattern

$
0
0
The strategy pattern defines a family of algorithms encapsulated in a driver class usually known as Context and enables the algorithms to be interchangeable. It makes the algorithms easily interchangeable, and provides mechanism to choose the appropriate algorithm at a particular time. The algorithms (strategies) are chosen at runtime either by a Client or by ...

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images