HashMap Java. Code is correct but not running : import java.util.*;

public class Map {
	
	public static void main(String[] args) {
		
		Map map = new HashMap();
		
		map.put("father", "Rob");
		System.out.println(map.get("father"));
	}
}
