A Admin • 833.24K Points Coach Q. Which method returns true if the stream contains no elements? (A) isEmpty() (B) noneMatch(x -> true) (C) count() == 0 (D) Both b and c Correct Answer - Option(D) Views: 24 Filed under category Java Hashtags: Java Streams Share Manage Tags
Discusssion
Login to discuss.