What Is Optional Object Used For #1124
What is Optional object used for?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Autoboxing - Java 8 Features - Quiz No.1.
What is Optional object used for?
Optional is used for optional runtime argument
Optional is used for optional spring profile
Optional is used to represent null with absent value
Optional means it’s not mandatory for method to return object