Without Book 質問する
Review the question and existing answers carefully before replying. The best answers explain the reasoning, steps, and tradeoffs so other learners can benefit too.
質問. Singleton pattern internally used in java api
- Please let me know whether any singleton pattern is used in java api. If internally it used then where it has been used?
投稿日 Jul 23, 2014 投稿者 Tom Grain
回答. Singleton design pattern used in java api follows:
java.lang.Runtime#getRuntime() java.awt.Desktop#getDesktop()
For more details check below link:
http://www.withoutbook.com/InterviewQuestionAnswer.php?tech=56&quesId=2755&subject=Java%20Design%20Patterns%20Interview%20Questions%20and%20Answers
java.lang.Runtime#getRuntime() java.awt.Desktop#getDesktop()
For more details check below link:
http://www.withoutbook.com/InterviewQuestionAnswer.php?tech=56&quesId=2755&subject=Java%20Design%20Patterns%20Interview%20Questions%20and%20Answers
投稿日 Jul 26, 2014 投稿者 Johny Verma