Optional Keyword – Java 8

Java 8 has introduced java.util.Optional class to find a value present or absent. Normally Java developers do “not null” check to identify whether the Object is null or to be used further for business logic. In a Enterprise application, lot of null checks present as each meaning object is checked, which makes the code messy. … Continue reading “Optional Keyword – Java 8”