what happened in the foreach loop mean how at the place of cat object address how uppercase String will print Can any one explain how toString method call ?