I have a loop like below where the name is printed, I dont need to typecast it or even use toString.
I find this strange because,it is an object, we need to typecast, is automatic typecasting done for System.oout.println()??
// accounts map
for (Object user: users)
// get the value (quota) corresponding to the current
// key (name) from the quota map
Object quota = quotaMap.get(user);
// print the key (name) - note that the typecase is optional
System.out.print("Name: " + (String)user);