Psychology, asked by rahsafi39234, 9 months ago

Write a program which uses the concept of Single Inheritance.​

Answers

Answered by Anupamkumar4553
2

Answer:

This is done to distinguish the method of child and parent class since both have same name. For example, C++ program to create and display properties of a typist from a staff using Single Inheritance. In this example, typist class is derived and staff class is the base class.

Answered by jyotirmayee7070
0

Answer:

Explanation:

C++ program

Similar questions