What is the role of Optional class w.r.t streams? Give an example with reduce. Example: java reduce array Arrays.stream(array).reduce((str1, str2) -> str1 + str2);