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 about interrupt() method of thread class ?
What is the benefit of abstract class?
Where local and global variables are stored?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
What is a conditional statement explain with example?
Why do we need wrapper classes?
What are the differences between wait() and sleep()?
What is lazy programming?
Can we override the overloaded method?
What does jre stand for?
What do you mean by JVM?
Is string is a data type?
What are keywords in programming?
How are multiple inheritances done in Java?
Explain the scope or life time of class variables or static variables?