difference. between List and Set?

Answer Posted / ravi raj

List:
-----
1.list sub interface of collection
2.list is collection objects with duplicates.

Set:
----
1. Set sub interface of collection.
2. Set is collection objects with duplicates.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I use javascript to submit a form?

612


Why use POJO when I can use hashmap

2045


What value does read() return when it has reached the end of a file?

549


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1630


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

567






What is the difference between ear, jar and war file?

570


What you mean by COM and DCOM?

613


Why a component architecture for the java platform?

574


What is prototype?

607


What is colon_pkg_prefixes and what is its use?

1995


Why a client should be multithreading? Explain.

591


which type of objects reference will be given to client?

2024


what is the use of State Factories?

1905


Can you control when passivation occurs?

596


How can I scroll through list of pages like the search results in google?

566