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.
Tag: Java
Java 17 and NullPointerExceptions
For my first blogpost I decided to write about a new small feature in Java 17. The new NullPointerException.Actually this is not new. But the content is much more informative than usual.