"I trust you've already learned about Set and Map. Here are some tasks to help reinforce your new knowledge."

14
Task
New Java Syntax,  level 14lesson 7
Locked
20 words that start with the letter "L"
You need to create a set of strings (using HashSet) and add 20 words that start with the letter "L".
14
Task
New Java Syntax,  level 14lesson 7
Locked
Greater than 10? You're not a good fit for us
Create a set of numbers (Set) and add 20 different numbers to it. Remove from the set all numbers greater than 10.
14
Task
New Java Syntax,  level 14lesson 7
Locked
Census
Create a Map and add ten entries that represent (last name, first name) pairs. Check how many people have the same first name or last name.
14
Task
New Java Syntax,  level 14lesson 7
Locked
We don't need repeats
Create a Map and add ten entries that represent (last name, first name) pairs. Remove people with the same first name.
14
Task
New Java Syntax,  level 14lesson 7
Locked
Remove all people born in the summer
In the Map, add ten entries that represent (last name, birth date) pairs. Remove from the map all people born in the summer.
14
Task
New Java Syntax,  level 14lesson 7
Locked
Only for the rich
Create a Map and add ten entries that represent (last name, salary) pairs. Remove from the map all people whose salary is below 500.