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 difference between a choice and a list?
What are the advantages and disadvantages of reference counting in garbage collection?
How do you add an arraylist to an array in java?
What is the final method?
Can we overload run() method in java?
what is recursion in java
What is public/private protected in java?
What is jvm? Why is java called the platform independent programming language?
What is lexicographically smallest string?
What do you mean by platform independence?
What is the size of boolean variable?
How to display arraylist values in java?
What is the difference between yielding and sleeping in java programming?
How does thread synchronization occurs inside a monitor?
How many types of java are there?