Singleton pattern (Java design pattern)
Singleton pattern It creates only one instance of a class, not allow to create a 2nd instance. How to create a Singleton pattern 1. Create a 'static' object of a class 2. Create private constructor to prevent that a user creates an instance with a default constructor. ※ The default constructor is called when an instance is created. the default constructor is public by default. 3. Create a 'stati..
JAVA
2019. 7. 10. 05:20
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Javascript Algorithm
- hackerrank solution
- string class in java
- easy algorithm
- java
- rest parameter
- 프로그래머스 알고리즘문제
- math.max
- equals()
- C++
- substring()
- Collection Framework
- HackerRank Algorithm
- hackerrank javascript
- math.abs
- 프로그래머스 알고리즘
- hackerrank javascript solution
- hackerrank
- repeat()
- HashMap
- algorithm
- Object type casting
- easy javascript algorithm
- compareTo()
- ... in Javascript
- code refactoring
- 알고리즘
- javascript
- spring boot application
- 프로그래머스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함