November 2019
Beginner
228 pages
2h 45m
English
In addition to “abstraction” and “inheritance,” there are another two principles in OOP, “encapsulation” and “polymorphism.”
You may have heard the phrase “information hiding,” which intends to conceal the detailed implementations of an object behind a higher level of abstraction. Information hiding is mainly for security concerns, while encapsulation is to keep data and class implementation details inside a class for complexity concerns. However, encapsulation combines internal data and methods and enables its internal data to be accessible from outside through its public methods. And ...
Read now
Unlock full access