What is Optional object used for?
(a) Optional is used for optional runtime argument
(b) Optional is used for optional spring profile
(c) Optional is used to represent null with absent value
(d) Optional means it’s not mandatory for method to return object
The question was asked in final exam.
My doubt is from Java 8 Features topic in chapter Autoboxing & Miscellaneous of Java