April 2019
Intermediate to advanced
240 pages
7h 27m
English
As presented in Chapter 1, “Introduction to Object-Oriented Concepts,” the traditional criteria of classical object-oriented programming are encapsulation, inheritance, and polymorphism. Theoretically, to consider a programming language as an object-oriented language, it must follow these three principles. In addition, as also covered in Chapter 1, I like to include composition.
Thus, when I teach object-oriented programming, my list of fundamental concepts looks like this:
Encapsulation
Inheritance
Polymorphism
Composition
Tip
Perhaps I should add interfaces to this list, but I have always considered interfaces to be a specific type of inheritance.
Adding composition to this list is ...
Read now
Unlock full access