Optional in Java 8: Part 2
In this lesson, we will look at some of the methods added in Optional class and discuss their functionalities.
In the previous lesson, we looked at the Optional<T> class. You learned what an Optional is and how to create it.
In this lesson, we will look at all the operations that we can perform using an Optional.
Below is the list of methods available in the Optional class.