#211 added real world examples from Java api for creational patterns

This commit is contained in:
Narendra Pathai
2016-08-20 13:17:53 +05:30
parent 56100927a9
commit c79df708b1
4 changed files with 17 additions and 5 deletions

View File

@ -31,6 +31,9 @@ Use the Singleton pattern when
## Real world examples
* [java.lang.Runtime#getRuntime()](http://docs.oracle.com/javase/8/docs/api/java/lang/Runtime.html#getRuntime%28%29)
* [java.awt.Desktop#getDesktop()](http://docs.oracle.com/javase/8/docs/api/java/awt/Desktop.html#getDesktop--)
* [java.lang.System#getSecurityManager()](http://docs.oracle.com/javase/8/docs/api/java/lang/System.html#getSecurityManager--)
## Credits