Home

Maps in Java

Basic example of creating a new map and accessing the parameters:

// Example of a basic map Map<String, String> map = new HashMap<String, String>(); map.put("dog", "type of animal"); System.out.println(map.get("dog"));

Repository

https://github.com/okeeffed/developer-notes-nextjs/content/java/maps-in-java

Sections


Related