SyntaxFix
Write A Post
Hire A Developer
Questions
"put" has been deprecated, refrain from using it, use .of instead
ImmutableMap<String, String> myMap = ImmutableMap.of( "city1", "Seattle", "city2", "Delhi" );