Skip to content

Glossary: Java Basics

Map.of

A quick way to make a small fixed map by listing keys and values in turn, such as `Map.of("UPS", 3, "USPS", 4)`.

Where the book teaches it

Related terms

MapList