Advertisement

Inheritance, Polymorphism, and Extending Classes

  • Wallace Wang

Abstract

In  Chapter 11 you learned how objects were created from classes and how classes define properties and methods. 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 Text Color Move Method Height Property Daisy Chain 
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.

Supplementary material

978-1-4842-1233-2_12_MOESM1_ESM.zip (116 kb)
ch12 (zip 117 kb)

Copyright information

© Wallace Wang 2015

Authors and Affiliations

  • Wallace Wang
    • 1
  1. 1.CAUS

Personalised recommendations