Ankit Garg wrote:1. You should remember there is no implicit downcasting in a method call, so if you have a code like this, it will not compile
Hi Ankit,
Thanks for your response. I got your second point but not the 1st point. What do you mean by saying implicit downcasting. Also, the line of code you highlighted is running.
Thanks,
Saumya