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
What is Optional object used for?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is Optional object used for?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!