Runtime polymerphysm in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Runtime polymerphysm in c++

Is it must to do public inheritance for run time polymerphysm in c++? question is that run time polymerphysm can be done if I have inherited with protected specifier

27th Feb 2019, 3:25 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
1 Answer
+ 1
~ swim ~ thanks for responding on this.. I am sorry but could not get u... is it not achievable with protected inheritance... right ?
1st Mar 2019, 9:22 PM
Ketan Lalcheta
Ketan Lalcheta - avatar