English, asked by sherinv76, 1 year ago

In OOP, which of the following functions throws an error when a class is inherited?

Answers

Answered by halbasri44
3

sorrry but can u rewrite the question again cuz it cant show

Answered by Arslankincsem
0

Inheritance is one of the center ideas of article arranged programming (OOP) dialects. It is where you can to get a class from another class for an order of classes that share a lot of traits and strategies.In C++, fellowship isn't acquired. On the off chance that a base class has a companion work, at that point the capacity doesn't turn into a companion of the determined class(es).  

For instance, following system prints blunder since show() which is a companion of base class An endeavors to get to private information of determined class B.

Similar questions