How toString method work ? After s.put(String,Cat) here how Cat return Name i can't understand please any one can explain?