R Ram Sharma • 3.40K Points Extraordinary Q. Which collector is useful to collect into a `TreeSet`? (A) toTreeSet() (B) toSet(TreeSet::new) (C) toCollection(TreeSet::new) (D) groupingBy(TreeSet::new) Correct Answer - Option(C) Views: 7 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.