This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use Optional.of() to wrap a non-null value; understand that passing null throws NullPointerException immediately.
You've completed the free preview. Subscribe to unlock every lesson in every course.