/Practice

Primary LanguagePython

Practice

Python Practice repository

OOPS (IEA Polymorphism krte hn)

No concept of DATA HIDING in Python i.e Access modifiers like public, private and protected are not supported
  1. Inheritance
  2. Encapsulation
  3. Abstraction
  4. Polymorphism

Encapsulation

  • class and object
      class Customer:
            print("inside class")
      obj = Customer()