[OT] Java, C#: why no multiple inheritance?

From: crichmon (crichmon23_at_hotmail.com)
Date: 07/09/04

Date: Thu, 08 Jul 2004 23:14:58 GMT


The main language that I progam in is C++. I have been studying and
experimenting with Java and C# and I'm somewhat curious as to why those
languages don't allow multiple inheritance? I am aware that they do allow
classes to implement multiple Interfaces in addition to the optional single
inheritance from another class, but I'm concerned at the fact that
Interfaces don't allow for data members, just member functions. Is the
inheritance thing to prevent code bloat and/or preserve some ideal of
object-oriented design? I have typically found that multiple inheritance in
C++ can be very advantageous, and I'm concerned as to how I might have to
re-design my objects if I ever convert C++ code to C# or Java. Any info out