+ 4
How many types of inheritance are there ?? And how it affects the working??
for instance what happens if i publically inherit a class or inherit it using private or protected method...
2 Answers
+ 1
it would be easier for people to access inherited codes
+ 1
In C++ there is 5 types viz.
single, mutiple , multilevel, hybrid
& hierarchical inheritance