+ 9
Set And Map
What is the difference between Set and Map?
2 Antworten
+ 3
A set is a data structure containing series of unique but related elements.
A map on the other hand is like an associative array(PHP) that allows you to access/store values using keys(usually strings) rather than index
A set (2,8,6,7,4,3,1)
A map => {
age:"16",
name:"Dlite",
favLanguage:"Python"
}
+ 2
Some handy links with answers 💗
https://www.sololearn.com/learn/Java/2182/
https://www.sololearn.com/learn/Java/2181/