The Singletone design pattern is one of many famous design pattern used in software developent.
Sometimes you need to ensure that a class in your java project only has one single instance in your whole program or application. The singleton pattern is suitable for this purpose. In this post, i will show you how to implement it and describe which value it offers you in your program.