A Admin • 833.24K Points Coach Q. What happens if `stream()` is called on a null List? (A) Empty stream is returned (B) NullPointerException is thrown (C) Compilation error (D) All elements are removed Correct Answer - Option(B) Views: 25 Filed under category Java Hashtags: Java Streams Share Manage Tags
Discusssion
Login to discuss.