difference. between List and Set?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
What is the argument type of a programs main() method?
What are the advanatages of RMI ?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
What are Benefits of Connection Pooling?
i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)
difference between ejb,struts,hibernate,spring and jsp
What is there in browser that it supports web based applications of java or any other PL?
Different between Struts and Spring? or Why use Spring, if you are already using Struts?
When a thread blocks on i/o, what state does it enter?
what is difference between checked exception & unchecked exception in java?
How many times may an objects finalize() method be invoked by the garbage collector?
What is the difference between the font and fontmetrics classes?