![img of Combine two Java Optionals](/_astro/featured-image.88A2P7cc_k7Vxs.webp)
1 min read
java I was implementing a searching algorithm and I had to search for two things. In this article I describe how I implemented combining two Java optionals in Java 9 using Optional.or compared with Java 8
I was implementing a searching algorithm and I had to search for two things. In this article I describe how I implemented combining two Java optionals in Java 9 using Optional.or compared with Java 8