purpose of returning an object?
<p>As the title i am confused about returning an <strong><em>object</em></strong>. When we return an integer we can print it also an string we can print that particular string  but what happen when we return an object . Please help.</p>
