Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
February 25, 2022 09:02 am GMT

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), 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


Original Link: https://dev.to/jps27cse/object-oriented-programming-oop-3h4m

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To