Skip to content
Ravnary
A Knowledge Platform
Categories
Learn
Cheatsheets
Paths
Favourites
Review
Community
Colour theme
Light
Dark
System
Learn
Java Collections and Streams
Pipelines
Optional
Quiz
Q 01
/ 05
Intermediate
Question 1 of 5. 0 correct, 0 incorrect.
What does a method declared to return
Optional<Customer>
tell its caller?
That finding nothing is a normal outcome they have to deal with
That the method throws rather than returning nothing
That the result can never be null
Check answer
Home
Learn
Paths
Saved
Community