import java.util.*; class Test { void foo(){ Map map = new HashMap<>(); System.out.println(map); } }