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?
Opublikovano Jul 23, 2014 Opublikoval Tom Grain
Otvet. 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
Opublikovano Jul 26, 2014 Opublikoval Johny Verma