Wednesday 18 November 2015

Difference between List and Set

List : 1. Insertion order is preserved through indexes
         2. Duplicate objects are allowed
Set : 1. Insertion order is not preserved through indexes
        2. Duplicate objects are not allowed

No comments:

Post a Comment