Explain treeset?
Answer / Atul Prakash
A TreeSet in Java is a sorted Set implementation, which stores its elements in a tree structure and follows the Sortable interface. It allows null values but they are compared with equals() method. The elements are ordered according to their natural ordering, or by a Comparator provided at its creation time.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to sort array of 0 and 1 in java?
What is string syntax?
How can we create a thread in java?
Is null a value?
Can we override the overloaded method?
What is final class?
I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.
What are the different types of sorting in java?
program to find 25 square = 625 here the 625 of last two digits is equal to 25, i don't know excatly what this type of number is called
what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?
How do you replace a string in java?
What services that container provides?