Re: Question on abstract classes versus interfaces



Hi Chris,

Chris Uppal wrote:
....
Let's take an aside into "multiple-inheritance". Some people like to say that
Java has multiple inheritance of interfaces. That's technically true, but I
think it misses the point entirely -- and is highly misleading.
....
So why is that like multiple inheritance ? Answer: it
isn't like multiple inheritance at all !

That was a long post!

:)

After reading it, I've got two questions for you:

- if "MI of interfaces" isn't like MI at all, like you're saying,
do you conside single inheritance of interface inheritance at all?


- do you think it is mandatory to rely on concrete inheritance
to achieve OOP ?

.



Relevant Pages

  • Re: Reprise: in out parameters for functions
    ... > 2) multiple inheritance would be supported; ... interfaces; is true for calls through interfaces (as opposed to directly ... adding protected and task support to them is not a ...
    (comp.lang.ada)
  • Re: PInvokes with managed and unmanaged objects
    ... same inheritance as in C++ file, you get the priviledge of flattening the ... > to represented in C# for PInvoke marshalling?If not any way around it? ... > Because C# does not allow multiple inheritance, ... it is to use interfaces. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Trying to understand the purpose of interfaces
    ... Do interfaces get used in ASP.NET or is that more of an executable world? ... your business layer needs to talk to a data layer in order ... layer objects and their representation in a SQL database. ... my SQL database persistence classes have their own inheritance ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: kobj multiple inheritance
    ... Aren't you still vulnerable to a cache ... > scheme was 'single inheritance of multiple interfaces'. ...
    (freebsd-arch)
  • Re: High performance alternative to MI of virtual bases
    ... > modeling IS-A relationships is incorrect. ... candidates for interfaces, in either the pure ABC or HFront sense. ... inheritance hierarchy, at least conceptually. ... "People quite correctly say that you don't need multiple inheritance, ...
    (comp.lang.cpp)