Member-only story

APIE-The 4 Pillars of Coding(Object Oriented Programming)

The Test Lead
6 min readNov 22, 2021

--

Photo by Ian Hutchinson on Unsplash

APIE is an acronym for the 4 pillars of programming. The acronym stands for

A-Abstraction

P-Polymorphism

I-Inheritance

E-Encapsulation

These are the 4 core principles for object-oriented programming. This article will cover what is Object-oriented programming, as well as the 4 pillars of Object-oriented programming.

What is Object-oriented programming?

Object-oriented programming is a programming paradigm based on the concepts of objects formed from classes. A class is a blueprint used to create specific objects. Data can be contained in the form of properties or attributes. Actions can then be performed in the form of methods or functions.

One of the main benefits of Object-oriented programming is reusability. Creating objects based on classes allows for the quick and efficient reuse of different portions of your code. This not only saves you time but allows for more readable, cleaner code.

Example. A car

Object-class=car

Data-Properties/attribues=color, model, car speed, is the car on

--

--

The Test Lead
The Test Lead

Written by The Test Lead

Lead SDET at fintech company in NYC. Visit personal page http://thetestinglead.com// Twitter @juss_bailey Youtube @The Test Lead

No responses yet