A Admin • 828.03K 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: 12 Filed under category Java Hashtags: Java Set Share Manage Tags
Discusssion
Login to discuss.