A Admin • 830.13K Points Coach Q. What is the best way to make a Set read-only? (A) Set.unmodifiableSet(set) (B) Collections.lockSet(set) (C) Set.readOnly(set) (D) set.lock() Correct Answer - Option(A) Views: 18 Filed under category Java Hashtags: Java Set Share Manage Tags
Discusssion
Login to discuss.