java
// Get keys using a for-each loop
for (String key : myMap.keySet()) {
    System.out.println("Key: " + key);
}