Java -Druckklassentyp
System.out.println(foo.getClass().getName());
Helpful Herring
System.out.println(foo.getClass().getName());