Object-Oriented Programming (OOP)

Object-Oriented Programming (OOP)

Object-Oriented Programming (OOP) is a programming paradigm (a style of writing code) based on the concept of objects which can contain data and code. The data is represented as fields (often called attributes or properties), and the code is represented as procedures (often called methods). Objects are instances of classes, which act as blueprints for creating objects.

It majorly consists of two things:


Difference between Procedural programming and Object Oriented programming

There are two major programming paradigms which are: Procedural programming and object-oriented programming. Both of these differ from each other in various aspects:


Use-Cases of Object Oriented Programming