what is difference between colection and collections?
Answer Posted / nirmal kanna s
The Collections class is a utility class having static methods for doing operations on objects of classes which implement the Collection interface. For example, Collections has methods for finding the max element in a Collection.
The Collection interface defines methods common to structures which hold other objects. List and Set are subinterfaces of Collection, and ArrayList and HashSet are examples of concrete collections.
Collection : The root interface of Java Collections Framework.
Collections : A utility class that is a member of the Java Collections Framework.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does this () mean in constructor chaining concept?
What is the difference between a break statement and a continue statement?
What is the benefit of abstract class?
What is ternary operator? Give an example.
What is a lambda expression ? What's its use ?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
Can inner class be public in java?
What is the use of java?
What is mysql driver class name?
How does class forname work in java?
Does printwriter create a file?
Can main() method in java can return any data?
Explain different states of a thread in java?
What is lexicographically smallest string?
What type of value does sizeof return?