macOS Programming for Absolute Beginners pp 295-332 | Cite as
Inheritance, Polymorphism, and Extending Classes
Chapter
First Online:
Abstract
To protect its data and methods from other parts of a program, an object isolates or encapsulates its code. Encapsulation is one prime advantage of object-oriented programming because it creates self-contained code that you can easily modify or replace without affecting any other part of a program.
Keywords
Text Field Move Method Height Property Daisy Chain Empty Class
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Copyright information
© Wallace Wang 2017