What are the OOPS concepts available in Python?

please explain each concept

1 Like

Some object-oriented features of Python:

  • Class-based OOP.
  • Objects (instances).
  • Multiple inheritance.
  • Metaclasses (classes are themselves objects; every class is an
    instance of a metaclass).
  • Data hiding by convention (not enforced by the compiler).
  • Encapsulation.
  • Abstraction.
  • Polymorphism.
  • Duck-typing.

and possibly others. For explanations, start here:

and follow the links.

If you have any specific questions, please ask, but don’t expect us to
fully explain the entire universe of OOP concepts before you have done
any research at all. That would require about 500,000 words.

By the way, as a programmer, one of the most critical skills you will
need is the ability to google for information before asking questions.
Most of the time, the answers you are asking for are readily available
on the internet.


1 Like