Den Dribbles

Java Maps

January 14, 2019

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");

Related Articles

A personal blog on all things of interest. Written by Dennis O'Keeffe, Follow me on Twitter