Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 175 Bytes

File metadata and controls

2 lines (2 loc) · 175 Bytes

Return a non-existent default value

Write a program that, when no value is present, sets (or returns) an non-existent default value via the Optional.orElseGet() method.