Answers for "java creating a dictionary"

5

how to make a dictionary in java

Map<String, String> map = new HashMap<String, String>();
map.put("dog", "type of animal");
System.out.println(map.get("dog"));
Posted by: Guest on May-19-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language