R Ram Sharma • 3.40K Points Extraordinary Q. How do you get an Optional value from a stream? (A) by calling stream.toOptional() (B) by calling stream.get() (C) by using terminal operations like findFirst() or findAny() (D) using mapToOptional() Correct Answer - Option(C) Views: 4 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.