R Ram Sharma • 3.40K Points Extraordinary Q. Which method is used to convert a Stream to a List? (A) toList() (B) collect(Collectors.toList()) (C) asList() (D) streamToList() Correct Answer - Option(B) Views: 11 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.