Difference between List and map class

Hi,

I have a small doubt.What is difference between the List class and Map Class.Pls help me.

Thanks,

Samy

List is a list of values (e.g. “apple”, “banana”, “cherry”).

Map is a map from keys to values (e.g. “apple” => 10, “banana” => 5, “cherry” => 0).

The links above points to the documentation - that’s where you would find the answer by yourself. You can also see examples there.