difference. between List and Set?

Answer Posted / yamini

List contains duplicate values and it does not allows null values.

Set contains unique values and it allows null values.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many times may an objects finalize() method be invoked by the garbage collector?

861


What is the difference between RMI and Corba?

2478


Is the infobus client side only?

853


Explain the different types of memory used by jvm?

855


Difference between DurableSubscription and non- DurableSubscription?

1931


Which containers use a border layout as their default layout?

833


Why do I get a duplicate name error when loading a jar file?

808


What is jboss?

766


How are the elements of a cardlayout organized?

780


Where can I ask questions and make suggestions about seam?

824


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

1903


Have you used threads in Servelet?

2205


What is the difference between system.out ,system.err and system.in?

807


What is clustering? What are the different algorithms used for clustering?

795


Are we allowed to change the transaction isolation property in middle of a transaction?

770