Which class has no duplicate elements?

Answer Posted / ranganathkini

The java.util.Set interface and related implementations dont
support duplicate elements.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For class CFoo { }; what default methods will the compiler generate for you>?

860


Can constructor be static or final?

871


Difference between operator overloading and function overloading

844


What is an object in java?

788


How to implement an arraylist in java?

727


What are encapsulation, inheritance and polymorphism?

743


Is char a data type in java?

761


What is update method called?

899


What the difference is between execute, execute Query, execute Update?

598


Why hashset is used in java?

765


How to create a base64 decoder in java8?

802


Why does my function print none?

730


Can we define private and protected modifiers for variables in interfaces?

834


what is the messsage u r going to get from an objectoriented programing?

1904


How are the elements of a gridbaglayout organized in java programming?

751