Which class has no duplicate elements?

Answer Posted / ramanareddy333

in java .util package there is one interface (set interface)
that interface does not allows the duplicate values.that
interface implementations class are
hashset,treeset....these classes don't allow the duplicate
values.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by classloader?

559


What is backdrop?

604


What is listnode in java?

543


How an object is serialized in java?

542


What is difference between local variable and global variable?

480






Will the jvm load the package twice at runtime?

580


What is scanner in java?

547


How to sort elements in a parallel array in java?

508


How can we break singleton in java?

531


What is the difference between a factory and abstract factory pattern?

689


Is java written in c?

554


How do I find and replace in word?

539


How to create a custom exception?

584


Explain the difference between call by refrence and call by value?

570


What is the symbol for line break?

616