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

Re: How can a parent class access public and protected methods/variables of child class?

$
0
0

Hi Matthew,

 

Done that. Public  variable c_pub of child is accessible is accessible.

 

Protected is giving error as in the screenshot. I am exploring. Will write when I get to know the final.

 

Thanks for the support. Your inputs are welcome.

 

Untitled.jpg


Viewing all articles
Browse latest Browse all 8572

Trending Articles



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