R Ram Sharma • 3.40K Points Extraordinary Report Q. Which method is used to sort a stream using a custom comparator? (A) stream.sort() (B) sortWith() (C) sorted(Comparator) (D) sortBy() Correct Answer - Option(C) Views: 3 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.