Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

WithoutBook Forum

Ques. 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?

Posted on Jul 23, 2014 by Tom Grain
Ans. 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
Posted on Jul 26, 2014 by Johny Verma

Enter your Answer

Name
Email Address
Answer
©2024 WithoutBook