A Admin • 828.03K Points Coach Q. What is returned by `reduce()` when no identity is provided and the stream is empty? (A) 0 (B) null (C) Optional.empty() (D) IllegalStateException Correct Answer - Option(C) Views: 7 Filed under category Java Hashtags: Java Streams Share Manage Tags
Discusssion
Login to discuss.