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 java abstraction with example?
Give reasons supporting that string is immutable.
Which is better arraylist or vector?
What is java and why do we need it? Explain
When does a class need a virtual destructor?
What are serialization and deserialization?
Define a java class.
placement papaers of spring computing technology
Explain the difference between runnable and callable interface in java?
Is java code slower than native code?
Is intellij better than eclipse?
What does next mean in java?
What is api in java?
What are methods?
Does .length start 0 java?