CODEX

Object-Oriented Programming provides many advantages to developers. Like other principles of Object-Oriented Programming, the Polymorphism principle helps us in many ways.

Image for post
Image for post


CODEX

Abstraction is another important principle of Object-Oriented Programming. When developers code, they always seek tidiness and another way to achieving that is Abstraction.

Image for post
Image for post


CODEX

Object-Oriented Programming is built on 4 big principles and one of them is Inheritance. Thanks to this mechanism, developers can easily create objects that have a relationship between them. Also, Inheritance is a very important key to understand other principles.

Image for post
Image for post


CODEX

Object-Oriented Programming is a very beneficial programming type for creating objects that have data and functions. We usually come across the OOP term and its principles in languages like C#, JavaScript, Java, and many others. In this article, we will touch on one of its 4 principles using Java: Encapsulation.

Image for post
Image for post


With explanation and comparison in Java

Image for post
Image for post

M. Hamdi Ozdil

Passionate with coding, In love with learning, ambitious to implementing them to his life.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store