1Z0-829 Working with Streams and Lambda Expressions • Set 2
1Z0-829 Working with Streams and Lambda Expressions Practice Test 2 — 15 questions with explanations. Free, no signup.
A method returns an Optional<String>. The developer wants to transform the value inside the Optional to uppercase and print it, but only if present. Which best-practice approach uses streams?
Choose an answer to begin — your selection is scored in the full session.
14 questions · instant feedback and full explanations after every question.