File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
property/src/main/java/com/iluwatar/property Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 44
55/**
66 *
7- * Example of {@link Character} instantiation using the Property pattern ( also known as Prototype inheritance) .
7+ * The Property pattern is also known as Prototype inheritance.
88 * <p>
99 * In prototype inheritance instead of classes, as opposite to Java class inheritance,
1010 * objects are used to create another objects and object hierarchies. Hierarchies are created using prototype chain
1111 * through delegation: every object has link to parent object. Any base (parent) object can be amended at runtime
1212 * (by adding or removal of some property), and all child objects will be affected as result.
13+ * <p>
14+ * In this example we demonstrate {@link Character} instantiation using the Property pattern.
1315 *
1416 */
1517public class App {
You can’t perform that action at this time.
0 commit comments