Object Oriented Programming (OOP)

What is OOP ?

Object Oriented programming (OOP) is a programming paradigm that relies on the concept of classes and objects. It is used to structure a software program into simple, reusable pieces of code blueprints (usually called classes),…

What is OOP ?

Object Oriented programming (OOP) is a programming paradigm that relies on the concept of classes and objects. It is used to structure a software program into simple, reusable pieces of code blueprints (usually called classes), which are used to create individual instances of objects.

oop Pic

Advantage :

  • Reusable, objects can be used across programs

  • OOP models complex things as reproducible, simple structures

  • Easier to debug, classes often contain all applicable information to them

  • Secure, protects information through encapsulation

Structure of OOP :

The structure, or building blocks, of object-oriented programming include the following:

  • Classes

  • Objects

  • Methods

  • Attributes

Main Principles of OOP :

  • Encapsulation

  • Abstraction

  • Inheritance

  • Polymorphism

Programming languages designed primarily for OOP include:
Java,Python,C++

Other programming languages that pair with OOP include:
PHP,JavaScript


Print Share Comment Cite Upload Translate
APA
DEV Community | Sciencx (2024-03-28T18:34:24+00:00) » Object Oriented Programming (OOP). Retrieved from https://www.scien.cx/2022/02/25/object-oriented-programming-oop/.
MLA
" » Object Oriented Programming (OOP)." DEV Community | Sciencx - Friday February 25, 2022, https://www.scien.cx/2022/02/25/object-oriented-programming-oop/
HARVARD
DEV Community | Sciencx Friday February 25, 2022 » Object Oriented Programming (OOP)., viewed 2024-03-28T18:34:24+00:00,<https://www.scien.cx/2022/02/25/object-oriented-programming-oop/>
VANCOUVER
DEV Community | Sciencx - » Object Oriented Programming (OOP). [Internet]. [Accessed 2024-03-28T18:34:24+00:00]. Available from: https://www.scien.cx/2022/02/25/object-oriented-programming-oop/
CHICAGO
" » Object Oriented Programming (OOP)." DEV Community | Sciencx - Accessed 2024-03-28T18:34:24+00:00. https://www.scien.cx/2022/02/25/object-oriented-programming-oop/
IEEE
" » Object Oriented Programming (OOP)." DEV Community | Sciencx [Online]. Available: https://www.scien.cx/2022/02/25/object-oriented-programming-oop/. [Accessed: 2024-03-28T18:34:24+00:00]
rf:citation
» Object Oriented Programming (OOP) | DEV Community | Sciencx | https://www.scien.cx/2022/02/25/object-oriented-programming-oop/ | 2024-03-28T18:34:24+00:00
https://github.com/addpipe/simple-recorderjs-demo