mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 14:52:03 +01:00
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:
14
documentation/current/draft/multiple-inheritance.wiki
Normal file
14
documentation/current/draft/multiple-inheritance.wiki
Normal 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>
|
||||
|
||||
5
documentation/current/draft/test-page.wiki
Normal file
5
documentation/current/draft/test-page.wiki
Normal file
@@ -0,0 +1,5 @@
|
||||
[[Property:title|Test page]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|6dc09e0f-b713-8c5b-799f-36a60264e8f8]]
|
||||
Test page for Book "Draft"
|
||||
|
||||
Reference in New Issue
Block a user