Display a list of keys

  • 2
  • Locked
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.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Petros
Level 23 , Columbia, United States
23 July 2020, 20:10
Shocked I got this one right. Used the keyset() method but didn't see it mentioned anywhere here.