WHAT IS THE DIFFERENCE BETWEEN LIST AND SET?

Mayank Tripathi

Total Post:807

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

    Post:807

    Points:4035
    What is the difference between List and Set?

    List can contain duplicate elements whereas Set contains only unique elements.

    Also,
    List are ordered whereas sets are not ordered

      Modified On May-12-2015 01:39:59 AM

Answer

NEWSLETTER

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