OOPs Principles

Examine the fundamental building blocks of Object Oriented Programming and beginning using it in your own code.

As the complexity of any software system grows, techniques for managing it become necessary. An object oriented paradigm can assist in ensuring your code is flexible, reusable, and maintainable.

The Four Pillars

Four foundational concepts in object oriented programming are the basis for building high quality code.

  • Abstraction
  • Data Encapsulation
  • Inheritance
  • Polymorphism


Abstraction is the process of generalizing concrete details,[1] such as attributes, away from the study of objects and systems to focus attention on details of greater importance.


The human mind is structured to condense down information in our environment to a degree that is manageable and understandable. We are built to simplify the world in order to understanding its core aspects. Programming languages must be very verbose when defining instructions that a processor relies up and trying to explicitly define all the aspects of an application become increasingly difficult to make sense out of, let alone modify.