Course contentsShow
Java
Lesson 1772 of 2,87037. Optional for Null SafetyPro lesson

The isEmpty() Method (Java 11+)

Discover isEmpty() as the logical inverse of isPresent(), providing clearer intent when checking for absent values.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.