Hideouts, passwords, keys! The captured secret agent will have to disclose it all without holding anything back… Actually, no. The keys and passwords will be enough. Her captors managed to recover a small program with a HashMap containing ten strings. Your task is to display a list of keys, printing each element on a new line.
Display a list of keys
- 2
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Petros
23 July 2020, 20:10
Shocked I got this one right. Used the keyset() method but didn't see it mentioned anywhere here.
0