Skip to main content
JourneyUncommon
Toggle theme
Sign In
Sign Up
Toggle theme
Home
/
Practice
/
Java
hard
Java
Optional patterns
Single-choice MCQ
What is the output?
System.out.println(Optional.of(1).orElseThrow());