Friday, January 29, 2016

Difference between Collection and Collections

Difference between Collection and Collections


Question: What is difference between Collection and Collections?
Answer: Collection is an interface. it is the root interface of java collection framework.
Collections is a class. It is a part of java.util package and contains all static methods.

No comments:

Post a Comment