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
What is the use of arrays tostring () in java?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
What are keyboard events?
Explain try and catch keywords in java?
Does java initialize arrays to zero?
What are user defined exceptions?
What is ordered map in java?
What do you mean by garbage collection used in java?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
What is the difference between int and integer in java?
What are the limitations of procedural programming approach?
Do I need java on my computer?
When do we need to use internal iteration? When do we need to use external iteration?
Why collection is called framework in java?
What does string intern() method do?