Hi,

There is nothing wrong in doing it the way you said...You won't even get any compile or run-time error. But the problem is you won't get the output that you have anticipated because "object...