June 2018
Beginner
722 pages
18h 47m
English
Sometimes OOP concept of an interface is also called abstraction because an interface summarizes (abstracts) the public description of an object behavior from the details of its implementation and hides (abstracts) it. An interface is an integral part of an encapsulation and polymorphism, but important enough to be stated as a separate concept. Its significance will become especially apparent in Chapter 8, Object-Oriented Design (OOD) Principles, when we discuss the transition from a project idea and vision to the specific programming solution.
Interface and inheritance provide the foundation for polymorphism.
Read now
Unlock full access