Answers for "declare a dictionary in java"

5

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