Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 8, 2020 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/37c1ef8db110658611f9ddee5ccfbdae to your computer and use it in GitHub Desktop.
Save parzibyte/37c1ef8db110658611f9ddee5ccfbdae to your computer and use it in GitHub Desktop.
// Crear e inicializar mapa
// Tutorial de mapas: https://parzibyte.me/blog/2020/01/07/hashmap-java-tutorial-ejemplos/
HashMap<String, Integer> hashMap = new HashMap<>();
hashMap.put("a", 0);
hashMap.put("e", 0);
hashMap.put("i", 0);
hashMap.put("o", 0);
hashMap.put("u", 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment