what is difference between colection and collections?
Answer Posted / mike
collection(lowercase c)represents any of the data
structures in which object are stored and iterated over.
Collection(Uppercase C)represents the interface which is
extended by three other interfaces(Set,List and Queue,Map
doesnt extend Collection interface).Guys,its extended not
implemented(hope you all know the difference between the
two,interface can extend interface,remember?)
Collections(upper case C with s at the end)this the
java.util.Collections class that holds a pile of static
methods for use with collections.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Explain serialization and deserialization in java?
what is a working thread? : Java thread
What is the difference between stringbuffer and stringbuilder class?
What is high level language in computer?
What is the disadvantage of synchronization?
Why collection is called framework in java?
Is java ee a framework?
Explain working of call by reference function invoking.
What is a jit compiler?
Write the algorithm to check the number non-leaf nodes in a tree.
What are static variables and functions?
What is hashtable and explain features of hashtable?
Write an algorithm for quick sort?
Explain wait(), notify() and notifyall() methods of object class ?
Is space a character in java?