update meta data
This commit is contained in:
parent
f3a896c724
commit
90e15ed6ce
3307 changed files with 1674 additions and 7 deletions
5
Task/Inheritance-Multiple/00DESCRIPTION
Normal file
5
Task/Inheritance-Multiple/00DESCRIPTION
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Multiple inheritance allows to specify that one [[classes | class]] is a subclass of several other classes. Some languages allow multiple [[inheritance]] for arbitrary classes, others restrict it to interfaces, some don't allow it at all.
|
||||
|
||||
Write two classes (or interfaces) <tt>Camera</tt> and <tt>MobilePhone</tt>, then write a class <tt>CameraPhone</tt> which is both a <tt>Camera</tt> and a <tt>MobilePhone</tt>.
|
||||
|
||||
There is no need to implement any functions for those classes.
|
||||
Loading…
Add table
Add a link
Reference in a new issue