View Single Post
Old 03-06-2017, 06:56 AM   #1
beingchinmay
Registered User
 
Join Date: Jun 2015
Posts: 246
Arrow What are the examples of Multiple Inheritance?

Imagine a class named TransmitData, whose function is to transmit data, and another class named ReceiveData, whose function is to receive data. Now imagine that you want to create a class named SocketPort, whose function is to transmit and receive data. In order to accomplish this, you would want to derive SocketPort from both TransmitData and ReceiveData.
beingchinmay is offline   Reply With Quote