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
What is the maximum size of hashmap in java?
What is super in java?
What are the legal parameters?
What is ++ a in java?
What is the difference between serializable and externalizable interface?
Is there any difference between nested classes and inner classes?
How can you traverse a linked list in java?
In Java list the methods that can be overridden?
Can java list contain duplicates?
What is data string?
Is 0 an even number?
What is arraylist e?
What is sizeof in java?
Can we override constructor in java?
What are constants?