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 to sort double array in java?
What is a map in java?
Can a java program have 2 main methods?
What is unicode in java?
List out benefits of object oriented programming language?
Can a top level class be private or protected?
How to avoid memory leak in java?
What is difference between c++ and java ?
Explain heap sort?
What is a modifier?
What's the difference between comparison done by equals method and == operator?
How does hashset works in java?
Which is better arraylist or vector?
How do you read a char in java?
How destructors are defined in java?