what is collections in java?
Answers were Sorted based on User's Feedback
Answer / chethan.s.l
Collection is a framework and its having series of classes
and interface implementing in the collection object.
| Is This Answer Correct ? | 7 Yes | 4 No |
Answer / anith
collection is a utility in java..which comes under .lang
package..
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / somasundar m
Collection is a frame work which is there in java.lang
package, which is used to store multiple type objects.
Collections has certain interfaces like Collection, Set,
List, Map, sorterdSet, sortedMap and certain classes like
HashSet, TreeSet,ArrayList, Linked List, Vectors,
Hashmap,Hashtable, Properties, etc. Based on the
requirements the appropriate collections should be used.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravikrian
The above all answers are correct if the question is
collection, But collections is a class from java.util
package which has static utility methods such as sort and
binary search
| Is This Answer Correct ? | 1 Yes | 0 No |
When does a class need a virtual destructor?
What is meant by Java ?
How is hashcode calculated in java?
How many types of syncronization?
when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.
What is aggregation?
What do you mean by garbage collection used in java?
How many tetrahedral voids are there in bcc?
How to sort a collection of custom Objects in Java?
What is included in core java?
Can we access a database using applets?
What is difference between null and void?