Optional.of(“Java”).flatMap(s -> Optional.ofNullable(null)) の戻り値はどうなるか。

flatMapに渡された関数がemptyを返しているため、最終的な結果もemptyとなる。