提交 40e378c1 编写于 作者: I Ilkka Seppala

Improve Property Javadoc

上级 98aa28d9
......@@ -4,12 +4,14 @@ import com.iluwatar.property.Character.Type;
/**
*
* Example of {@link Character} instantiation using the Property pattern (also known as Prototype inheritance).
* The Property pattern is also known as Prototype inheritance.
* <p>
* In prototype inheritance instead of classes, as opposite to Java class inheritance,
* objects are used to create another objects and object hierarchies. Hierarchies are created using prototype chain
* through delegation: every object has link to parent object. Any base (parent) object can be amended at runtime
* (by adding or removal of some property), and all child objects will be affected as result.
* <p>
* In this example we demonstrate {@link Character} instantiation using the Property pattern.
*
*/
public class App {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册