Is Swift capable of doing multiple inheritance? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 1

Is Swift capable of doing multiple inheritance?

26th Mar 2016, 6:18 PM
René Wiß
René Wiß - avatar
2 Réponses
0
No, Swift does not support inheriting from multiple classes. However, you can inherit from a class and impletent a protocol at the same time.
4th May 2016, 1:27 PM
James Flanders
- 1
There is no inheritance in Swift but there are ways for achieving the inheritance.....
20th Jun 2016, 4:46 AM
Utpal Kumar
Utpal Kumar - avatar