How to code inheritance protected public and private? Plz give code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to code inheritance protected public and private? Plz give code

29th Jan 2017, 2:22 AM
Bibek Sunuwar
Bibek Sunuwar - avatar
3 Answers
0
pleasr give more information
30th Jan 2017, 5:36 PM
Oussama Jaaouani
Oussama Jaaouani - avatar
0
use class
31st Jan 2017, 6:08 PM
Siddharth Naithani
Siddharth Naithani - avatar
0
from derived class to get both protected ,public and private and vise versa
31st Jan 2017, 7:21 PM
Bibek Sunuwar
Bibek Sunuwar - avatar