Computer Science, asked by snjeevverma6536, 8 months ago

सिंगल इनहेरिटेन्स का उदाहरण दीजिए।

Answers

Answered by Ganisha
0

Answer:

The example

Explanation:

In this example, typist class is derived and staff class is the base class. Public members of class staff such as staff::getdata() and staff::display() are inherited to class typist. Since the child is derived from a single parent class, it is single inheritance.

Similar questions