what is difference between colection and collections?
Answer Posted / srinu
Collection is the interface. which can be implemented
List,set,Queue.This interface contain only instance methods.
Collection is the class .This class contain utility methods
such as all algorithm oriented methods.This class contain
only static methods.
| Is This Answer Correct ? | 15 Yes | 12 No |
Post New Answer View All Answers
Can we call the constructor of a class more than once for an object?
Do I need java for windows 10?
What are the major advantages of internal iteration over external iteration?
What is flag in java?
What is the differences between heap and stack memory in java? Explain
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
How many types of memory areas are allocated by jvm?
Explain method overloading?
Can an interface implement another interface?
What are the differences between string, stringbuffer and stringbuilder?
What is a treeset class?
Why lambda expression is used in java?
What is the difference between scrollbar and scrollpane?
How do you do a line break in java?
Explain the key functions of data binding?