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
Can we increase array size dynamically in java?
What is the purpose of the finalize() method?
How to change the priority of thread or how to set priority of thread?
What is main method?
What is static block?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
Why we used vector class?
can any body body expalin best definitions & best real time exaples for opps concepts.
Can singleton class be serialized?
What is arrays aslist in java?
What are the advantages of java?
What Is Query Throttling in java?
What differences exist between iterator and listiterator?
What is an example of procedure?
List the features of java programming language.