Lab6

Lab6 프로젝트 디렉토리 안에 모든 파일(src/*.java & bin/*.class)와 보고서 (3~4장)를 넣고 JAVA20-2_Lab6_학번_이름.zip 압축한 후 제출 (due by 11/2)

Singleton Pattern – 5가지 구현방법
1. classic implementation
2. thread-safe using synchronized keyword
3. thread-safe using eager initialization
4. thread-safe using lazy initialization with double checked locking
5. thread-safe using inner static class