adspace
Answer Posted / Siddh Nath Jha
"To define a base class (or superclass) in Swift, you use the keyword 'class' followed by the name of the class and its properties and methods. The base class can then be inherited by other classes using the 'class' keyword again, but this time with the name of the subclass and the name of the superclass separated by a colon."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers