WHAT IS THE DIFFERENCE BETWEEN COLLECTION AND COLLECTIONS?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 1386  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.

      Modified On Mar-28-2018 02:23:36 AM

Answer

NEWSLETTER

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