How does swift achieve multiple inheritance?



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

Post New Answer

More Apple iOS Swift Interview Questions

What are the control transfer statements in swift?

1 Answers  


Explain the usage of class and benefits of inheritance.

1 Answers  


How do I create a swift file in xcode?

1 Answers  


What is framework in swift?

1 Answers  


What is optional binding?

1 Answers  


Can structs inherit swift?

1 Answers  


What are adapter and memento patterns?

1 Answers  


How do you make a bridging header in swift?

1 Answers  


What is lazy var in swift?

1 Answers  


What is tuple? How to create a tuple in swift?

1 Answers  


Explain me what is swift?

1 Answers  


Which is the superclass of all the view controller objects?

1 Answers  


Categories