473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

multiple inhiretance.

Can Somebody please point some of the dis advantages of multiple
inhiretance.

Jun 6 '06 #1
5 1528
NileshKorpe wrote:
Can Somebody please point some of the dis advantages of multiple
inhiretance.


Do you really think just repeating the question will give you different
answers?

Jun 6 '06 #2
dear it seems it was mispelled last time,and many guys could not
understand it.

Rolf Magnus wrote:
NileshKorpe wrote:
Can Somebody please point some of the dis advantages of multiple
inhiretance.


Do you really think just repeating the question will give you different
answers?


Jun 6 '06 #3
> Can Somebody please point some of the dis advantages of multiple
inhiretance.


An aligator can walk on land and it can swim in water. Thus, it
inherits "swimable" and "walkable" but not "flyable".
Stupid example, but there are good resons for it.
You can have all objects derive from "XObject" for debugging/logging
and also from "DObject" for drawing/visualization.
Jun 6 '06 #4
To state the major disadv. of multiple inheritance is that if
the performance is the major criteria then multiple inhritance
is definately going to cost a lot.
Can Somebody please point some of the dis advantages of multiple
inhiretance.


An aligator can walk on land and it can swim in water. Thus, it
inherits "swimable" and "walkable" but not "flyable".
Stupid example, but there are good resons for it.
You can have all objects derive from "XObject" for debugging/logging
and also from "DObject" for drawing/visualization.


Jun 6 '06 #5
NileshKorpe wrote:
Can Somebody please point some of the dis advantages of multiple
inhiretance.


The disadvantages include all of the same for single inheritance plus
ambiguity, the child inherits two or more different functions with the
same name from different parents, and reduncency, when the child
inherits two or more functions that have the same functionality but
with different names or when data fields in more than one parent are
used for the same purpose. These problems increase complexity.
Coupling is increased and coheision decreases.

Jun 7 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Rolf Wester | last post by:
Hi, I have a form with a select element with multiple="true". When using the GET method (I suppose the same happens with the POST method) I can seen that the form sends channels=CH1&channels=CH2...
66
by: Darren Dale | last post by:
Hello, def test(data): i = ? This is the line I have trouble with if i==1: return data else: return data a,b,c,d = test()
11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
6
by: Ben Hallert | last post by:
Hi guys, I'm trying to figure out what bone headed mistake I made on something I put together. I've got a form (named 'context') that has a variable number of select-multiple inputs on it. ...
22
by: Matthew Louden | last post by:
I want to know why C# doesnt support multiple inheritance? But why we can inherit multiple interfaces instead? I know this is the rule, but I dont understand why. Can anyone give me some concrete...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
9
by: Graham | last post by:
I have been having some fun learning and using the new Controls and methods in .Net 2.0 which will make my life in the future easier and faster. Specifically the new databinding practises and...
4
by: Matt Kruse | last post by:
While developing an internal IE6-only webapp, a discussion started about the 'best' way to apply classes to data tables across multiple pages. The two arguments were: 1. Apply a single class to...
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.