Advertisement

Inheritance, Polymorphism, and Extending Classes

  • Wallace Wang
Chapter

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

Authors and Affiliations

  • Wallace Wang
    • 1
  1. 1.San DiegoUSA

Personalised recommendations