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

What are the design considerations while making a choice between using interface and abstract class?

754


What is JTS?

2068


Is jvm a overhead?

815


What is the difference between the session.update() method and the session.lock() method?

744


Can you give me a simple example of using the requiredif validator rule?

847


Why use a datasource when you can directly specify a connection details?

762


Explain phantom read?

1958


What modifiers may be used with an interface declaration?

800


How is a java object message delivered to a non-java client?

772


What is RMI and what are the services in RMI?

833


Name the class that is used to bind the server object with RMI Registry?

1903


What is ioc concept & explain it?

822


What is ioc concept?

921


What are the steps to write p-to-p model application?

2165


What is glasgow?

786