WHAT IS THE DIFFERENCE BETWEEN COLLECTION AND COLLECTIONS?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 974  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    What is the difference between Collection and Collections?

    Collection is an interface whereas Collections is a class. Collection interface provides normal functionality of data structure to List, Set and Queue. But, Collections class is to sort and synchronize collection elements.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!