Optionals in Java
Introduction
Optional is a class introduced in Java 8 to handle null values in order to avoid the dreadful NullPointerException (NPE).
It is a wrapper class that can be used to represent a value that
blog.programwithjr.com4 min read