We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2234a25 commit 0a9879aCopy full SHA for 0a9879a
strategy/src/main/java/com/iluwatar/strategy/App.java
@@ -2,7 +2,10 @@
2
3
/**
4
*
5
- * Strategy ({@link DragonSlayingStrategy}) encapsulates an algorithm. The containing
+ * The Strategy pattern (also known as the policy pattern) is a software design pattern that
6
+ * enables an algorithm's behavior to be selected at runtime.
7
+ * <p>
8
+ * In this example ({@link DragonSlayingStrategy}) encapsulates an algorithm. The containing
9
* object ({@link DragonSlayer}) can alter its behavior by changing its strategy.
10
11
*/
0 commit comments