Programming with Python

  1. Home
  2. Docs
  3. Programming with Python
  4. OOPs concept in Python

OOPs concept in Python

Programming Paradigm is a way to classify programming languages based on their features. One language can be classified into multiple paradigms.

Python programming:-

  • Functional
  • Imperative
  • Procedural
  • Object oriented programming.

Procedural or procedure oriented programming- In this program step-by-step instructions are written in a logical order. If programming is complex logic broken into smaller but independent and reusable blocks of statements called function.

Object oriented programming- In this program step-by-step instructions are written in a logical order. In OOPs, we divide the things into objects.

Essential features of object oriented programming are:-

  • Data Encapsulation
  • Inheritance
  • Overriding
  • Polymorphism

Articles

Was this article helpful to you? Yes No 1

How can we help?