Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk
Welcome to the GeekTalk Webmaster Discussion Forums from GeekVillage.com

Click Here To Register. It's Free!

Go Back   geek/talk: Web publishing business discussion > YOUR CREATION: Building & Maintaining A Web Site > Web Development - Programming / Coding
User Name
Register FAQ Calendar Search Today's Posts Mark Forums Read

Thread Tools Search this Thread Display Modes
Old 03-06-2017, 06:56 AM   #1
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
Old 08-17-2017, 12:01 AM   #2
Registered User
Join Date: Aug 2014
Location: bangalore
Posts: 416

When a class is derived from two or more base classes, such inheritance is called Multiple Inheritance.

It allow us to combine the features of several existing classes into a single class. For example, Petrol is derived from both liquid and fuel.
ketul is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple domain/virtual hosting Phoenix0 Web Hosting Discussion 2 12-27-2001 05:40 PM
Partner With Multiple PPC Engines: Fill Your Own Inventory LaNMaN Making Money with CPC and/or CPM Programs 11 09-19-2001 03:31 PM
Zonify spawns multiple popups with their banners! fatale Making Money with CPC and/or CPM Programs 3 08-15-2001 04:18 PM
Multiple listings in Yahoo Tim Marketing Your Website Online 2 10-22-2000 02:40 PM
Teknosurf & multiple sites Ariakas Making Money with CPC and/or CPM Programs 2 02-28-2000 09:58 PM

Please support our advertisers. They ensure our survival.

All times are GMT -5. The time now is 07:16 PM.

GeekVillage.com is copyright © 1998-2015 Curiosity Cave - Science gifts for clever kids. All rights reserved.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.