Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 7735

Re: doubts in narrow casting

$
0
0

hi,

 

i google this final i found that

 

201.png

 

202.png

It is not possible to access the methods which only defined in the sub class using the super class reference.

second we have to use dynamic approach as the conetnt of that method call at run time and if we go for static approach it gives error as physical reff not found as in case others


Viewing all articles
Browse latest Browse all 7735

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>