Author:admin

Date:2014-10-10T12:43:16.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1394 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2014-10-10 12:43:16 +00:00
parent 1ba046e4a2
commit 0667cafbdb
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[[Property:title|Multiple inheritance]]
[[Property:weight|0]]
[[Property:uuid|7f54afce-fd1d-fba7-7a55-f74604ea9846]]
<h2>Multiple inheritance: overview</h2>
Multiple inheritance is a mechanism for combining abstractions. It lets you define a class by extending or specializing two or more classes, not just one as in <em>single</em> inheritance.
Multiple inheritance sometimes has the reputation of being complicated or even messy, but there is no such problem in Eiffel. "Name clashes", for example, are not a big deal: if classes <eiffel>A</eiffel> and <e>B</e> both have a feature with the same name <e>f</e> and class <e>C</e> inherits from both,
<e>
class feature end
</e>

View File

@@ -0,0 +1,5 @@
[[Property:title|Test page]]
[[Property:weight|0]]
[[Property:uuid|6dc09e0f-b713-8c5b-799f-36a60264e8f8]]
Test page for Book "Draft"