How does swift achieve multiple inheritance?
Answer / Mohammad Hasan Siddiqui
Swift does not support multiple inheritance of classes directly. However, it achieves a similar effect using protocol extensions and type extensions.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the control transfer statements in swift?
Explain the usage of class and benefits of inheritance.
How do I create a swift file in xcode?
What is framework in swift?
What is optional binding?
Can structs inherit swift?
What are adapter and memento patterns?
How do you make a bridging header in swift?
What is lazy var in swift?
What is tuple? How to create a tuple in swift?
Explain me what is swift?
Which is the superclass of all the view controller objects?