Map keys of type String are case-sensitive . Two keys that differ only by the case are considered unique and have corresponding distinct Map entries. Subsequently, the Map methods, including put , get , containsKey , and remove treat these keys as distinct.
Read moreIs HashMap case sensitive Java?
You know keys in the java. util. HashMap are case sensitive .
Read more