What is the Set interface?

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


Please Help Members By Posting Answers For Below Questions

What is the purpose of encapsulation?

531


What is the difference between JDBC 1.0 and JDBC 2.0?

2693


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

1928


What is the final variable?

571


What is math floor in java?

467






whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1649


What is array in java?

523


What is a key in java?

491


What are the types of collections in java?

530


What is var keyword ?

730


Is jdk required on each machine to run a java program?

734


how we can make a write-only class in java?

544


Explain about exception propagation?

579


Is integer immutable in java?

538


What was java originally called?

500