9. Polymorphism, Dynamic Typing, and Dynamic Binding
In this chapter you'll learn about the features of the Objective-C language that make it such a powerful programming language and that distinguish it from some other object-oriented programming languages such as C++. Three key concepts are described in this chapter: polymorphism, dynamic typing, and dynamic binding. Polymorphism enables programs to be developed so that objects from different classes can define methods that share the same name. Dynamic typing defers the determination of the class an object belongs to until the program is executing, and dynamic binding defers the determination of the actual method to invoke on an object until program execution time.
Polymorphism: Same Name, Different ...
Get Programming in Objective-C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.