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 is character in data type?
What is meant by tab pans?
Why do we use bufferedreader?
What is vector?
What is meant by singleton class?
Can you pass functions in java?
Why is singleton not thread safe?
Can we use this () and super () in a method?
How many ways can you break a singleton class in java?
Can an interface have a class?
What is meant by memory leak?
What is the purpose of using javap?
What is object english?
Why synchronization is important?
What is entry set in java?