News

There are three major features in object-oriented programming that makes them different than non-OOP languages: encapsulation, inheritance and polymorphism. Encapsulation Enforces Modularity ...
Indeed, we have encapsulation. However, there are two other facets to effective object-oriented design: inheritance and polymorphism. You can write the following: ...