Category: Java

Fun With Java Optional 0

Fun With Java Optional

Optional: A container object which may or may not contain a non-null value. Below are good points about Optional:1. This container helps us to reduce the NullPointerException.2. This helps us to indicate that the...