Answer Posted / vijayakumar chinnasamy
Set is an interface in java.util package.Set does not allow
duplicate values but using set we can easily sort the
elements in ascending order using treeset.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How is final different from finally and finalize?
Why enumeration is faster than iterator?
What is the benefit of inner classes in java?
How many bytes is string in java?
Write a program in java to create a doubly linked list containing n nodes.
What is the purpose of static methods and variables?
What is the difference between pass by reference and pass by pointer?
Is empty set an element of empty set?
What is the public field modifier?
What is unsigned char?
What are constructors in java?
What is arraylist e?
Can we declare array without size in java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
Differentiate between the constructors and methods in java?