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 |
In the HashMap, we know the values but we dont know the key, then how can we get the key from HashMap ?????
Explain illegalmonitorstateexception and when it will be thrown?
Difference between flush() and commit() in hibernate?
Can we access the non-final local variable, inside the local inner class?
What are the traverses in Binary Tree?
how to use finalize()Method to resources
Is alive method in java?
Tell me about different OOPS concepts.
How do you invoke a method?
What happens if we override private method?
What is data and its types?
Which method will get invoked first in a stand alone application?