What is the Set interface?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
Set interface is the one which will provide convinience
methods to add the objects which contains no duplicates.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / 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 |
What are the advantages of autoboxing?
How do you pass by reference?
Can a final variable be null?
How do you do exponents in java?
Difference between stack and queue?
What is command line argument
Can we declare a static variable inside a method?
When we give defination of interface method in the class why method must be public???
Java violates few objected oriented concepts. Can you explain in what way?
class{ ... ... interface myinterface{ ... ... } abstract class{ .. .. } ... .. .. } is this possible to write "Interface and/ or Abstract class inside a class ? if possible whcich one is possible is only interface? is only abstract?
How can constructor chaining be done using this keyword?
Is vector synchronized in java?