A Admin • 831.35K Points Coach Q. What is the purpose of the peek() method in a stream pipeline? (A) To modify the stream elements (B) To inspect the stream elements (C) To terminate the stream (D) To filter the stream elements Correct Answer - Option(B) Views: 16 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.